<ww:property value="#session['foo']"/>
and you should be able to use application and request (these are for Attributes only) and also for parameters
Robert Douglass wrote:
Typical. I fiddled around with this problem for 20 minutes, wrote y'all a mail, and came upon an answer within 15 seconds of pressing Send.
<ww:property value="#session.get('newPage_pageToClone').toString()"/>
Is this the only | best | recommended way?
-Robert
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Robert Douglass Sent: Sunday, October 05, 2003 7:48 AM To: WebWork list Subject: [OS-webwork] accessing session objects in tag
Hi all, I'm really sailing against the wind today. Can't get the simple things to work. I thought that calling this line in my action
ServletActionContext.getContext().getSession().put("newPage_pageToClone", pageToClone);
and this in my template
<ww:property value="@newPage_pageToClone.toString()"/>
is the technique for accessing session objects in jsp. Doesn't work. The first line happens in newPage.action, which is chained to browse.action. What's wrong?
Hope someone can help fill my sails,
-Robert
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork