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

Reply via email to