cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "julien bloit" <Julien.Bl...@ircam.fr>
Subject Re: XSP Page : Session and Authentication
Date Thu, 25 Mar 2004 15:09:31 GMT
Hi,

Use xsp-session-fw instead :
<xsp-session-fw:getxml context="authentication" as="xml"
path="="/authentication/data/id_blog_user"/>

and declare in your xsp tag :
xmlns:xsp-session-fw="http://apache.org/xsp/session-fw/1.0"

HTH,
Julien Bloit

----- Original Message ----- 
From: "olivier demah" <odemah@messagio.com>
To: <users@cocoon.apache.org>
Sent: Thursday, March 25, 2004 3:35 PM
Subject: XSP Page : Session and Authentication


> Hi,
>
> I would like to know how i can get information that exist in the
> <authentication/> stream.
>
> Here is my xsp page :
>
> 1-<xsp:logic>
> 2- String id_blog_user = request.getParameter("id_blog_user");
> 3- if (id_blog_user.equals(null)) {
> 4-     id_blog_user = <session:getxml context="authentication"
> path="/authentication/data/id_blog_user"/>
> 5- }
> 6- </xsp:logic>
>
>
> i know that the line 4 is completly wrong but i dont know how to access
> to this data in xsp code.
>
> regards.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>


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


Mime
View raw message