You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Michał Letyński <ml...@consol.pl> on 2007/05/16 12:56:15 UTC

ValueStack - retrieve parent object inside s:iterator

Hi.
The code:
<s:iterator value="collection of objects" >
    <tags:render-some-jsp-page />
</s:iterator>

On this rendered page i had a tag which format and display properties of 
this object.
I retrieve those fields,properties in this way:
stack.findValue("field") where stack is a ValueStack object.
So i had an access to all fields of this object, but i want get the 
object not the fields. Is it is possible ? It must be on the valueStack 
but how to get/found him ?

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org