struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milan Milanovic <>
Subject Re: [S2] Iterate through two lists
Date Mon, 25 Aug 2008 15:30:17 GMT

I tried this syntax when my "someObject" is located in action class:

<s:param value="someObject.fruits2[#rowstatus.index].name"/>,

I also put this variable into sesson, and treid like this:

<s:param value="#session.someObject.fruits2[#rowstatus.index].name"/>

and it doesn't work, but it is wierd because few lines above, this works:

<s:if test="#session.someObject != null">

So, I supose that this value attribute of s:param doesn't work well or synax
is no good.


newton.dave wrote:
> --- On Sat, 8/23/08, Milan Milanovic wrote:
>> O.K. I'll try to find it. But I just think that this synax is no good:
>> <s:param value="someObject.fruits2[#rowstatus.index].name"/>
> You may *think* that, but the syntax is fine, and I have working code that
> uses it, written while working on your problem.
> Dave
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View this message in context:
Sent from the Struts - User mailing list archive at

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

View raw message