Martin,
Could you please give an example of how it can be used? I just did the index naming
the old fashioned way(i.e., adding index to the property string) and would like to
replace it.
Thanks.
-Nimmi
-----Original Message-----
From: Martin Cooper [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 13, 2001 11:43 PM
To: [EMAIL PROTECTED]
Subject: Re: Iterate tag update?
I just checked in a change to the iterate tag which allows you to access the
current index as a scripting variable. If you specify the 'indexId'
attribute, a scripting variable with the specified name will contain the
current index (as an Integer) on each iteration. This will be available in
the 6/14 nightly build, and also in Struts 1.0.
--
Martin Cooper
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 13, 2001 9:36 AM
Subject: Iterate tag update?
>
>
> I have a question similar to Mark Kettner's.
>
> Could someone give an update on the iterate tag, and where it stands with
the
> ability to get hold of the current index.
>
> I need to have each field in each table row with a different name (ie
include
> the index in it) to reference particular one using javascript.
>
> do I need a custom tag for this, or is one available?
>
> thanks very much,
>
> Dave
>
>
>