cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vgritse...@hns.com>
Subject RE: Session Parameters in Stylesheets
Date Thu, 23 Aug 2001 17:41:17 GMT
Use action to get session attributes and return them to sitemap.
Right now there is no such action, but it is easy to write it.

Vadim

> -----Original Message-----
> From: logica [mailto:millerm@logica.com]
> Sent: Thursday, August 23, 2001 1:09 PM
> To: cocoon-users@xml.apache.org
> Subject: Session Parameters in Stylesheets
> 
> 
> How do I access a session parameter from a stylesheet? I know how to get a
> request parameter:
> 
> 1. set 
> 
>     <use-request-parameters>true</use-request-parameters>
> 
> 
> 2. and use something like this in the stylesheet:
> 
>     <xsl:param name="messageid">0</xsl:param>
> ...
> 
>     <xsl:template match="mmsc:message[@id=$messageid]">
> ...
> 
> How can I do the same, but get session parameters instead?
> 
> 
> Thanks 
> 
> Mark Miller
> 
> 
> ---------------------------------------------------------------------
> 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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> 
> 

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message