cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pguillard <pguill...@soociety.com>
Subject Re: How to write request parameter into session attribute in sitemap ?
Date Fri, 01 Oct 2004 08:59:19 GMT
Hi,

Try this :
<map:act type="session-propagator">
<map:parameter name="group" value="{request-param:visu}"/>
</map:act>
Phil


Willy Reinhardt wrote:

>Hi,
>I get a request with a parameter like ../visu?valdoc=100.01
>I would copy the value into a session attribute this during sitemap
>proccess.
>
>I am looking for something like:
>
><map:match pattern="visu">
>  <map:match type="request-parameter" pattern="valdoc">
>    <map:act type="session">
>        <map:parameter name="valdoc" value="{1}"/>
>    </map:act>
>    <map:read src="cache/{1}.html" mime-type="text/html"/>
>  </map:match>
></map:match>
>
>Thanks for any idea.
>
>Willy
>
>
>
> 
>
>---------------------------------------------------------------------
>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