You can do this without parameters. Write a setter for this index property (to save it), and then in the getter you grab the saved value.

Hi,

I want to call s:iterator and fetch a list by passing it an index. This list 
will be dynamically generated.

<s:iterator value="products[#index]" var="product" status="stat">

where I want getProducts(Integer index) to be called.

Is this possible?

Thanks

Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to