This works for me:
<s:iterator status="idx" value="someArray">
<s:set name="index" value="#idx.index"/>
</s:iterator>
Nils-H
On Tue, Dec 23, 2008 at 6:00 AM, taj uddin <[email protected]> wrote:
> Hi,
>
> In my application I want to assign the value of the status attribute of
> <s:iterator> tag to the int variable.
> In clear(explanation):-----I have the this code(below)
>
> <s:iterator value="%{#session.Tables}" status="idx" id="Table" >
> I have tried to get the index value of the current iteration with the help of
> index() method.
> where #idx.index() gives the index value. Now i want to assign this value to
> the int variable.
>
> Can u pls help me out in this issue.
>
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]