Is it intended that values not found on the current object of the iterator
are then searched up the stack to find the value?

<webwork:push value="model">

<webwork:iterator list="children">
    <webwork:property value="name"/>
    <webwork:property value="./name"/>
</webwork:iterator>

</webwork:push>

name is an attribute on the model and on the objects contained within the
children list(model.getChildren())
For simplicity sake, the children list is of size 1, and the name attribute
is NULL, model.name is set to "Model".

Inside the iterator, <webwork:property value="name"/>, yields, "Model" and
<webwork:property value="./name"/>, yields "" (empty string).

thanks
eric.



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to