Ok guys... this thread went off the track... i got the outer loop by design
I will give the inner loop a try but i swear I had problems before in T4 I
tried to avoid.
I dont like hakcs like a firstFlag solution
so I will give that inner loop a try and let you know how I make out
@Property
Alright, your correct... I will take a closer look.
And thank you for the constrictive criticism.
I prefer to do things the right-way... kinda pressed for time
kcola...@live.com
From: kcola...@live.com
To: users@tapestry.apache.org
Subject: first flag variable for request cycle loop
Date
rks, and I can't
be bothered to understand it." No framework will help you there.
>
> kcola...@live.com
>
>
>
>
> From: kcola...@live.com
> To: users@tapestry.apache.org
> Subject: first flag variable for request cycle loop
> Date: Mon, 8 Oct 2012 10:47:21 -0400
:loop source="grid" value="row"]
> [tr]
> [t:loop source="row" value="asset"]
> [td][img src="${asset}" /][/td]
> [/t:loop]
> [/tr]
> [/t:loop]
> [/table]
>
>
>
> --
> View this mes
[td][img src="${asset}" /][/td]
[/t:loop]
[/tr]
[/t:loop]
[/table]
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/first-flag-variable-for-request-cycle-loop-tp5716705p5716709.html
Sent from t
So, you could write a getter like this:
public List> getGrid() {
...
}
Then your TML could look something like
<${asset}>
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/first-flag-variable-fo
Thanks for trying Lance...
i am re-writing a gallery widget. its all custom table... I cannot abstract it
like your suggesting.
its custom
kcola...@live.com
From: kcola...@live.com
To: users@tapestry.apache.org
Subject: first flag variable for request cycle loop
Date: Mon, 8 Oct 2012 10
list
of beans, each bean maps to a table in your UI. Then have a simple loop in
the TML to display a table for each bean.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/first-flag-variable-for-request-cycle-loop-tp5716705p5716706.html
Sent from the Tapestry - User ma
Folks,
I am rendering some markup in a loop
psuedo
do alot of rendering stuff here
Previously in T4 my code worked and the table row tags had to be placed at the
top of the loop to check a modulo on the index property
Now in T5, my check for modulo comes out true first pass thru an