Dave Newton wrote:
--- Alex Funk <[EMAIL PROTECTED]> wrote:
Is this a bug or a feature?

"root" may refer to the root of the OGNL stack, but I
can't verify that at the moment. You could probably
test that theory, though.
Thanks for the reply, Dave.

Yes, <s:property value="#root"/> returns the value stack. But I wonder how and why this is blocking the entire namespace starting with 'root'. If I use 'request' as the iterator status, everything works as I would expect:
<s:iterator status="request" value="{1,2}" >
   #request.index = <s:property value="#request.index" />
   <br/>
</s:iterator>

Well, as soon as one knows it, one can work around it. I am quite new to Struts2 and not sure if this is some sort of misconfiguration on my side. If anyone else can reproduce this, I would report this as a bug in Jira, or at least leave a comment on http://cwiki.apache.org/confluence/display/WW/iterator

Thanks again,

Alex

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to