You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Christian Zoffoli <cz...@littlepenguin.org> on 2001/06/20 23:41:33 UTC
[C2] dynamic session propagation
Hi to all.
First of all thanks for the beautiful work!
Could I read a session variable from a sitemap and pass it to an action
?
es:
....
<map:match type="request" pattern="action">
<map:select type="parameter">
<map:parameter name="parameter-selector-test" value="{1}"/>
<!-- read session variable "page" -->
<map:when test="Next">
<map:match type="request" pattern="article:body::{page}">
<map:act type="session-propagator">
<map:parameter name="article:body::{page}" value="{1}"/>
</map:act>
</map:match>
</map:when>
....
Christian
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>