Thanks that's what I needed.
I'am sure it's a powerful language but the success of a language is also how
easy it is to find what you need, the documentation is poor of examples and
it's hard to someone that's new with this type of language.
Hope in your collaboration in future. Thanks.
DNewfiel
TonyD wrote:
Well I found out what index is (index=count +1)
Bzzt. Index is a zero-based iteration count, count is a one-based
iteration count, so index+1=count.
but a need something that tells me how much iterations are there
before reaching the end of interation.
That has nothing to d
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
.
Emplooye
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
:clap:
FOUND:
label="%{reports[#reportStatus.count -1]}"
Where could I find all status properties (first, last, odd, even, count,
etc.)
TonyD wrote:
>
> I have a iterator where each value is the label of a checkbox.
> How could I set each value into the checkbox label?
>
> This is code:
>
>
5 matches
Mail list logo