Can I use session variables into a XSP? I cannot reach it only trought a
transformation. How I must declare the name space to use it in XSP since
<xsp:page
xmlns:xsp-session="http://apache.org/xsp/session/2.0"
create-session="true"
xmlns:xsp="http://apache.org/xsp">
does not work.
Currently I need to use:
xmlns:session="http://cocoon.apache.org/session/1.0"
and then make a transformation before the use: for example (sitemap):
<!-- Welcome page - Protected -->
<map:match pattern="welcome">
<map:act type="auth-protect">
<map:parameter name="handler" value="myhandler"/>
<map:generate src="docs/welcome.xsp" type="serverpages"/>
<map:transform type="session"/>
^^^^^^
-> The transform needed currently :(
</map:act>
<map:transform src="stylesheets/mystyle.xsl"/>
<map:serialize/>
</map:match>
Regards,
Antonio Gallardo
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>