cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Irv Salisbury <irv.salisb...@gmail.com>
Subject Re: javaflow map:parameter
Date Tue, 05 Jul 2005 15:18:32 GMT
There is a method called getContext that is private in
AbstractContinuable.  You need to copy what they are doing there. 
Then, on the Context you get back, there is a getParameters method. 
You can then get it there.

Irv

On 7/5/05, Ben Anderson <benanderson.us@gmail.com> wrote:
> Hi,
> I'm converting some flowscript to javaflow and can't seem to figure
> something out.  I have this in my sitemap:
> 
>       <map:match type="request-parameter" pattern="continuation-id">
>         <map:call continuation="{1}">
>           <map:parameter name="cssDir" value="{global:cssDir}"/>
>           <map:parameter name="jsDir" value="{global:jsDir}"/>
> 
> So in the flowscript I can get at these parameters like this:
>   var jsDir = cocoon.parameters.jsDir;
> 
> However, I can't find a similar way to do this in javaflow.  Does
> anyone know how I can do this?
> Thanks,
> Ben
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message