cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Gronert <u15...@hs-harz.de>
Subject Re: Pass a parameter to Portal
Date Mon, 26 Jul 2004 14:01:56 GMT
Philippe Guillard wrote:
> Hi all,
> 
> I need to pass a paramter from URI to the portal and somehow access it
> from my coplets.
> More clearly URI could be : samples/blocks/portal/portal?my_param="foo"
> or : samples/blocks/portal/foo
> 
> I tried this : 
> 
> <map:match pattern="portal">     
>  <map:act type="session-propagator">
>       <map:parameter name="my_param" value="{request-param:my_param}"/>
> </map:act>         
> 
> works fine for the anonymous page coplets, but as soon as the user logs
> in, a new session object is created and my paramter is lost.
> 
> I tried also to use a global sitemap parameter, but don't know how to
> pass it to mounted subsitemaps where my coplets are...
if you set the global sitemap parameter in the rootsitemap you can use 
it in alle subsitemaps. e.g.: {global:name}, so you donn't have to pass it!

Dirk
> 
> Any idea ?
> 
> Regards,
> 
> Phil


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


Mime
View raw message