check iterate tag in recent struts buidl - supports "indexid" as an
attribute .

Suhas

----- Original Message -----
From: Hartmut Bernecker <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 30, 2001 2:48 PM
Subject: how to get the position when iterating over a vector?


> Hi,
>
> who knows how I can get the position of an object in a vector when
> iterating about that vector?
>
> <logic:iterate id="myVector" name="someBean" property="list">
> <bean:write name="myVector" property="price"/>
> </logic:iterate>
>
> (I want to have the position as parameter of a link in each row).
>
> TIA!
> Hartmut
>

Reply via email to