You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Antonio Gallardo <ag...@agsoftware.dnsalias.com> on 2003/02/19 22:18:24 UTC

Re: get sunrise session values from an xsp page

Check this:

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13070

Antonio Gallardo

Lionel Crine dijo:
> 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:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>




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