index in the Iterate tag
1 posts in topic
Flat View  Flat View

Posted By:   T_Joeson
Posted On:   Friday, December 21, 2001 01:24 PM

How do I print out the index of the
current element as I iterate through
a collection using the iterate tag?

Re: index in the Iterate tag

Posted By:   Ted_Husted  
Posted On:   Monday, December 31, 2001 04:18 AM

The current index can be exposed
as a scripting variable by specifying an indexId property.
You could then print that using a scriptlet or the
bean:write tag.

HTH -Ted

About | Sitemap | Contact