struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <>
Subject RE: S2 NESTED iterators & FLAT HashMaps:
Date Mon, 18 Feb 2008 17:49:19 GMT
--- Ravichandra C <> wrote:
> FE and BR are the static text beside which the result would be
> displayed. I was using them to recognize the two results differently...
> did I answer ur question? 


I asked why you're using the status variable of the inner iterator in the
<s:text.../> tag:

>> BR <s:text name="%{coStatus[top]}" /> <br/>
> "coStatus" is your inner iterator's status var; I'm not sure why you're
> using  it in the "BR" <s:text.../> tag?

The iterator status value has things like "index", "count", "isOdd" and so
on. You're trying to use it as a map, and retrieving a value from it using
the top value on the stack, which makes no sense.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message