struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From TonyD <antonio.ditomm...@eunics.it>
Subject Re: How to set checkbox label value in a iterator
Date Mon, 09 Jul 2007 11:31:49 GMT

Well I found out what index is (index=count +1), but a need something that
tells me how much iterations are there before reaching the end of
interation.

Example: 

Emplooyes: 2350     (I need to know this value before iterations)

Emplooyes data 1 ........
Emplooyes data 2 ........
.....
Emplooyes data 2350 ........

Thanks.



DNewfield wrote:
> 
> TonyD wrote:
>> label="%{reports[#reportStatus.count -1]}"
>> 
>> Where could I find all status properties (first, last, odd, even, count,
>> etc.)
> 
> http://struts.apache.org/2.0.8/struts2-core/apidocs/org/apache/struts2/views/jsp/IteratorStatus.html
> 
> Looks like what you want is "index".
> 
> -Dale
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-set-checkbox-label-value-in-a-iterator-tf4035305.html#a11500040
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message