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">
...
</s:if>

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

--
Milan


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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-S2--Iterate-through-two-lists-tp19052842p19146071.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to