cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willy Reinhardt" <wreinha...@novell.com>
Subject How to write request parameter into session attribute in sitemap ?
Date Thu, 30 Sep 2004 17:44:40 GMT
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


Mime
View raw message