cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <jer...@media.demon.co.uk>
Subject Re: converting FlowApp to new FOM
Date Wed, 13 Aug 2003 13:21:22 GMT

On Wednesday, August 13, 2003, at 02:00 PM, Sylvain Wallez wrote:

> Jeremy Quinn wrote:
>
> <snip/>
>
>> I just converted all my classes to use the
>> org.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon.FOM_Reques 
>> t. jsFunction_getParameter (String name) method, and they appear to  
>> be  working.
>>
>> Would it be 'safer' to pass the FOM_Cocoon object itself, and unwrap   
>> the org.apache.cocoon.environment.Request from it as Ugo appears to   
>> have done?
>
>
> Yep. Furthermore, you don't have to "unwrap" the request, since  
> FOM_Cocoon provides a getRequest() method that gives access to the  
> _real_ o.a.c.environment.Request object.

Thanks Sylvain

I see you are absolutely right .... on my first glance at the code it  
appeared to me that FOM_Cocoon.getRequest returned a FOM_Request ....  
thanks for clearing that up.

regards Jeremy


Mime
View raw message