Hi,

after some debugging I found that I can't use any identifier starting with 'root' as status in s:iterator. The following code in my jsp:
-------------------------------------------------------------------
<p>
<s:iterator status="stat" value="{1,2,3,4,5}" >
   #stat.index = <s:property value="#stat.index" /><br/>
</s:iterator>
</p><p>
<s:iterator status="root" value="{1,2,3,4,5}" >
   #root.index =    <s:property value="#root.index" /><br/>
</s:iterator>
</p><p>
<s:iterator status="rootAtTheBeginOfIdentifier" value="{1,2,3,4,5}" >
#rootAtTheBeginOfIdentifier.index = <s:property value="#rootAtTheBeginOfIdentifier.index" /> <br/>
</s:iterator>
</p>
-------------------------------------------------------------------
gives this result:
#stat.index = 0
#stat.index = 1
#stat.index = 2
#stat.index = 3
#stat.index = 4

#root.index =
#root.index =
#root.index =
#root.index =
#root.index =

#rootAtTheBeginOfIdentifier.index =
#rootAtTheBeginOfIdentifier.index =
#rootAtTheBeginOfIdentifier.index =
#rootAtTheBeginOfIdentifier.index =
#rootAtTheBeginOfIdentifier.index =
----------------------------------------------------------------------

Can someone reproduce this? Is this a bug or a feature?

Best regards,

Alex

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

Reply via email to