You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by pguillard <pg...@soociety.com> on 2004/10/01 10:59:19 UTC

Re: How to write request parameter into session attribute in sitemap ?

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