cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laurent Trillaud" <ltrill...@jouve.fr>
Subject RE: [module] how to get cookie?
Date Thu, 29 Jan 2004 09:00:08 GMT
OK, I got it. It's just JXPath syntax.
{request:cookieMap/MyCookie/value} return the string.
Thanks to Sylvain Wallez for his help.
Laurent Trillaud

> My dream is becoming reality
> The {request:cookieMap/name} return me just an object instead of the full
> map with {request:cookieMap} (hope it's the good one)
> The only thing I need now is to cast object into String.
> Laurent
> 
> > Huummm. I'am already in an action.
> > The real deal is to give parameter to the auth-login action
> > <map:act type="auth-login">
> >   <map:parameter name="handler" value="portalhandler" />
> >   <map:parameter name="application" value="portal" />
> >   <map:parameter name="parameter_name" value="guest" />
> >   <map:parameter name="parameter_password" value="guest" />
> > </map:act>
> > I'am looking for something like
> >   <map:parameter name="parameter_name" value="{request:cookies/name}" />
> > with of course name a regular cookie
> > Laurent
> >
> > > using a custom action tha will read the cookie value and return it in
> > > sitemap


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


Mime
View raw message