cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylvain.wal...@anyware-tech.com>
Subject Re: converting FlowApp to new FOM
Date Wed, 13 Aug 2003 13:00:02 GMT
Jeremy Quinn wrote:

<snip/>

> I just converted all my classes to use the
> org.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon.FOM_Request. 
> 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.

Sylvain

-- 
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
Orixo, the opensource XML business alliance  -  http://www.orixo.com



Mime
View raw message