Brilliant idea, it works. i have to remove 'literal:' to make it work. thanks
for the tip.
Taha Hafeez wrote
>
> One solution will be
>
>
> ${row}..
>
>
>
> ${row}
>
>
>
> @Property
> private int index;
>
> public Item getRow(){
>return myList.get(index);
> }
>
> regards
> Taha
>
One solution will be
${row}..
${row}
@Property
private int index;
public Item getRow(){
return myList.get(index);
}
regards
Taha
On Aug 3, 2012, at 7:29 AM, Angelo C. wrote:
> I have this list of 10, and I need to have two loops for two tables in the
> page, one is from 1 to 5 and
On Thu, 02 Aug 2012 22:59:57 -0300, Angelo C.
wrote:
I have this list of 10, and I need to have two loops for two tables in
the page, one is from 1 to 5 and another is 6 to 10, side by side, my
approach now is two functions getRows1() and getRows2(), so the list is
splited in
code, was
I have this list of 10, and I need to have two loops for two tables in the
page, one is from 1 to 5 and another is 6 to 10, side by side, my approach
now is two functions getRows1() and getRows2(), so the list is splited in
code, was just thinking maybe Loop has this feature?
Thiago H de Paula Fi
On Thu, 02 Aug 2012 22:15:35 -0300, Angelo C.
wrote:
Hi,
Hi!
Can component loop have a starting index? say I have a source of 10, and
I'd like to loop from 1 to 5, and another Loop from 6 to 10, possible?
What are you trying to do? The Loop's index parameter always starts from 0
and