How can I get sunrise session values in an xsp page.
I'm trying this ?
My login page :
<?xml version="1.0" encoding="UTF-8"?>
<page>
<content>
<form>
<url>login?resource=ixia_demo</url>
<field name="name" type="text" length="24" description="User"/>
<field name="password" type="password" length="10"
description="Password"/>
</form>
</content>
</page>
</xsp:page>
My xsp page :
<?xml version="1.0" encoding="UTF-8"?>
<xsp:page xmlns:xsp="http://apache.org/xsp"
xmlns:xsp-request="http://apache.org/xsp/request/2.0"
xmlns:sunshine="http://cocoon.apache.org/sunshine/1.0">
<page>
<content>
<session-info>
<sunshine:getxml context="session" path="/parameter/name"/>
</session-info>
</content>
</page>
<xsp:page>
xsl document :
<xsl:template match="session_info">
<xsl:apply-templates/>
</xsl:template>
The xsp page does not understand the <sunshine:getxml context="session"
path="/parameter/name"/>
I'm kind of lost.
---------------------------------------------------------------------
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]>
- Re: get sunrise session values from an xsp page Lionel Crine
- Re: get sunrise session values from an xsp page Antonio Gallardo