Do you know which scope it is defined in? I would try the following -
<s:iterator value="#request.user.friends" ... -Wes On Mon, Jun 1, 2009 at 3:18 PM, Radoslav Krivak <rkri...@gmail.com> wrote: > > Hello, > > how can I access variable that is defined inside the body of third party > (not struts2) tag? Example: > > <jmesa:struts2TableFacade > items="${users}" > var="user"> > > ${user.name} <%-- works --%> > > <s:iterator value="user.friends" var="friend"> <%-- doesn't work --%> > <s:property value="friend.name" /> > </s:iterator> > > </jmesa:struts2TableFacade> > > > I know that JSP EL is forbidden in struts2 tags. But how could I access > variable "user" in example then? I haven't found anything about it in docs. > Please help me out, I'm completely lost here. > I use latest struts 2.1.7 (built from source). > > > 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-tp23820238p23820238.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Wes Wannemacher Author - Struts 2 In Practice Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more http://www.manning.com/wannemacher --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org