struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Ara <juan....@fi2net.com>
Subject Re: iterate tag
Date Fri, 02 Jun 2006 11:59:23 GMT
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: dev-unsubscribe@struts.apache.org
>For additional commands, e-mail: dev-help@struts.apache.org
>
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: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message