Re: Environmental not avaible during action

2016-06-22 Thread Thiago H de Paula Figueiredo
On Wed, 22 Jun 2016 11:58:23 -0300, Lherm Nicolas wrote: In my app.tml I put an that refers to my app.java to : void onSetupRender() { environment.push(EnumCorgamo.class, corgamo); } but it still doesn't works That's because the corgamo variable is null during your event reque

RE: Environmental not avaible during action

2016-06-22 Thread Lherm Nicolas
In my app.tml I put an that refers to my app.java to : void onSetupRender() { environment.push(EnumCorgamo.class, corgamo); } but it still doesn't works [☹] De : Lherm Nicolas Envoyé : mercredi 22 juin 2016 16:04:09 À : Tapestry users Objet : RE: E

RE: Environmental not avaible during action

2016-06-22 Thread Lherm Nicolas
Hi, EnumCorgamo is the context of the execution, an enumeration with some Strings, and methods thats returns codes (strings) Yes, it was Tapestry 5.2.6 [?] De : Thiago H de Paula Figueiredo Envoy? : lundi 20 juin 2016 19:45:28 ? : Tapestry users Objet : Re: E

Re: How to customize the grid to show three s in two rows?

2016-06-22 Thread Chris Poulsen
You should checkout the tapestry source (Grid, GridRows and friends) to see how the output is generated. -- Chris On Wed, Jun 22, 2016 at 12:50 PM, g kuczera wrote: > Thanks for the idea, Chris. I was going to make the table with styled divs > and t:Loop, but much better option is to create it

Re: How to customize the grid to show three s in two rows?

2016-06-22 Thread g kuczera
Thanks for the idea, Chris. I was going to make the table with styled divs and t:Loop, but much better option is to create it with the regular table syntax, but having two rows - just like you mentioned - inside the t:Loop. So you saved me a lot of time. PS: I already have it tested, so the rest i

Re: How to customize the grid to show three s in two rows?

2016-06-22 Thread Chris Poulsen
So: For each row. The grid is not meant to handle something like that. You can roll your own component(s) to render what you need (using loop etc.) or add an extra cell as a regular grid cell and then use a mixin to manipulate the html of the grid to introduce a new row containing