Re: How to access variable in JSP tag scope from struts 2 tags (OGNL expression)

2009-06-01 Thread Wes Wannemacher
On Mon, Jun 1, 2009 at 4:54 PM, rdk1 wrote: > > Wow! #attr.user.friends actually works! How esoteric... > > > > Anyway, thank you Wes > > RK > -- No problem, explanations here - http://struts.apache.org/2.x/docs/ognl.html http://struts.apache.org/2.x/docs/ognl-basics.html -- Wes Wannemacher A

Re: How to access variable in JSP tag scope from struts 2 tags (OGNL expression)

2009-06-01 Thread rdk1
Wow! #attr.user.friends actually works! How esoteric... Anyway, thank you Wes RK -- View this message in context: http://www.nabble.com/How-to-access-variable-in-JSP-tag-scope-from-struts-2-tags-%28OGNL-expression%29-tp23820238p23822150.html Sent from the Struts - User mailing list archive a

Re: How to access variable in JSP tag scope from struts 2 tags (OGNL expression)

2009-06-01 Thread Dave Newton
rdk1 wrote: #request.user.friends doesn't work, nor #page.user.friends What are the possibilities you could provide a bit more context? Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands

Re: How to access variable in JSP tag scope from struts 2 tags (OGNL expression)

2009-06-01 Thread Wes Wannemacher
Maybe - #attr.user.friends ? I would assume that if ${user.name} works, then #attr should be able to find it. -Wes On Mon, Jun 1, 2009 at 4:23 PM, rdk1 wrote: > > #request.user.friends doesn't work, nor #page.user.friends > > RK > -- > View this message in context: > http://www.nabble.com/How-

Re: How to access variable in JSP tag scope from struts 2 tags (OGNL expression)

2009-06-01 Thread rdk1
#request.user.friends doesn't work, nor #page.user.friends RK -- View this message in context: http://www.nabble.com/How-to-access-variable-in-JSP-tag-scope-from-struts-2-tags-%28OGNL-expression%29-tp23820238p23821167.html Sent from the Struts - User mailing list archive at Nabble.com. -

Re: How to access variable in JSP tag scope from struts 2 tags (OGNL expression)

2009-06-01 Thread Wes Wannemacher
Do you know which scope it is defined in? I would try the following - wrote: > > Hello, > > how can I access variable that is defined inside the body of third party > (not struts2) tag? Example: > >        items="${users}" >      var="user"> > >      ${user.name}  <%-- works  --%> > >       <%--

How to access variable in JSP tag scope from struts 2 tags (OGNL expression)

2009-06-01 Thread Radoslav Krivak
Hello, how can I access variable that is defined inside the body of third party (not struts2) tag? Example: ${user.name} <%-- works --%> <%-- doesn't work --%> I know that JSP EL is forbidden in struts2 tags. But how could I access variable "use