The offset attribute offsets the index of the Collection (e.g it starts from xth element instead of the first.) as far as I know while indexId gives it back for other tags and visualization (In my case I use it in a table for row numbering).
-----Original Message----- From: Juan Ara [mailto:[EMAIL PROTECTED] Sent: Friday, June 02, 2006 1:59 PM To: Struts Developers List Subject: Re: iterate tag Szurdi Miklós wrote: > Hi all > > > > I was using logic:iterate and couldnot find any useful tag attribute > for offsetting the indexed attribute and I have found it annoying > because indexId starts from 0 while usually the users want to see it > in the traditional wayJ. > > I created a new tag attribute called: indexOffset which solves this > problem maybe it is useful for others. > > > > BR > > Miklos Szurdi > >------------------------------------------------------------------------ > > > > >------------------------------------------------------------------------ > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > You have the offset attribute in the standard logic:iterate tag. See http://struts.apache.org/struts-action/struts-taglib/tagreference.html#iterate However you have the JSTL c:out tag wich performs the same functionality. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]