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: Getting at sitemap parameters within Javaflow
Date Thu, 30 Jun 2005 19:19:53 GMT
I found my own answer.  There is a private getContext method that if
you move to your class, then use that context to getParameters on that
object, it works fine.

On 6/30/05, Irv Salisbury <irv.salisbury@gmail.com> wrote:
> I am in the process of converting some javascript flow to Java flow.
> We pass in some parameters to the function through the sitemap
> currently as follows:
> 
>       <map:match pattern="childSearch/*/*/*">
>         <map:call function="childSearch">
>           <map:parameter name="module" value="{1}"/>
>           <map:parameter name="screen" value="{2}"/>
>           <map:parameter name="tab" value="{3}"/>
>         </map:call>
>       </map:match>
> 
> How do I do this with Javaflow?  In the javascript, I would do the
> following to get at it:
> 
>       var module = cocoon.parameters.module;
>       var screen = cocoon.parameters.screen;
> 
> So,  how can I get access to these parameters?
> 
> Thanks for any help.
> 
> Irv
>

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


Mime
View raw message