I am trying the same thing, but can't seem to figure it out.... Anyone tell me what would be the equivlent of :
<session:getxml context="authentication" path="/authentication/data/title"/> ?? ----- Original Message ----- From: "Hugo Burm" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 13, 2003 1:07 AM Subject: RE: JXTemplate and session beans > > With some more trial and error I solved my own problem: > This is working in a JXTemplate: > > You are logged in with id: ${session.getAttribute("usr").id} > > (id is one of the properties of the usr bean that was stored in the session) > I did not know you can call a java method within the ${} > > > Hugo > > -----Original Message----- > From: Hugo Burm [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 12, 2003 6:44 PM > To: [EMAIL PROTECTED] > Subject: JXTemplate and session beans > > > > How can I access the members of a bean that is stored in the session? > > In an action I did something like: > session.setAttribute("usr",myBean); > > And now I am trying to access the members of the bean in a JXTemplate view. > I tried $(session.usr.lastname} and #{session/usr/lastname}. > > All documentation I found is the Petstore example and the java source of the > generator. Did I miss something? > > Thanks. > > Hugo Burm > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]