Thanks, that's perfect.

Just goes to show the limitations of searching the MailArchive. Now that you
mention it, I remember scanning that entire thread as it unfolded, but
didn't really digest it at the time, as I was focused on other things. Then,
when I wanted to know exactly that, I turned first to the docs (website,
wiki), and then MailArchive. Didn't find it. If I had just started reading
the list messages backwards from the most recent, I would have found it.

-Robert

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Francisco Hernandez
Sent: Sunday, October 05, 2003 9:33 AM
To: [EMAIL PROTECTED]
Subject: Re: [OS-webwork] accessing session objects in tag


Patrick just added support for doing this using something like this:

<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



-------------------------------------------------------
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

Reply via email to