cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guido Casper" <gcas...@s-und-n.de>
Subject Re: create new session attribute in xsp
Date Thu, 27 Nov 2003 13:26:11 GMT
Nadia BrĂ¼nning wrote:
> hi guys,
> i habe the following problem:
>
> i have a sitemape:
> <map:match pattern="bookmark*">
> <map:generate src="logic/bookmark.xsp" type="serverpages"/>
> <map:transform src="stylesheets/bookmark.xsl" type="xslt">
> </map:transform>
> <map:serialize type="html"/>
> </map:match>
>
> in the bookmark xsp i create a new session attribute
> <xsp-request:set-attribute
> name="fruit">Apple</xsp-request:set-attribute> as an example
>
> how can i access this attribute in:
>
> <map:match pattern="confirm*">
> <map:generate src="logic/confirm.xml"/>
> <map:transform src="stylesheets/login.xsl"/>
> <map:serialize/>
> </map:match>

Something like:

<map:match pattern="confirm*">
<map:generate src="logic/confirm.xml"/>
<map:transform src="stylesheets/login.xsl">
  <map:parameter name="fruit" value="{session-attr:fruit}"/>
</map:transform>
<map:serialize/>
</map:match>

Guido


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


Mime
View raw message