cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Irv Salisbury <irv.salisb...@gmail.com>
Subject Re: Sitemap parameters within JavaFlow
Date Thu, 30 Jun 2005 19:18:55 GMT
It looks like the getParameters method worked fine using the solution
listed below.

On 6/30/05, Irv Salisbury <irv.salisbury@gmail.com> wrote:
> It looks like in the code for AbstractContiuable there is the following:
> 
>         return (ContinuationContext)
> Continuation.currentContinuation().getContext();
> 
> On ContiuationContext there is a getParameters method.  Am I barking
> up the right tree here?
> 
> 
> On 6/30/05, Irv Salisbury <irv.salisbury@gmail.com> wrote:
> > I posted this to the users, but we are in such a hurry with this...
> > Plus, I didn't really get any google answers, so it might be more of a
> > dev question anyway:
> >
> > 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?
> >
> > I saw some putback notices that seem to point to there being a
> > solution, but nothing I could find in the samples or on google.
> >
> > Thanks for any help.
> >
> > Irv
> >
>

Mime
View raw message