Re: Renders 2 rows using the Grid component

2013-03-19 Thread Lance Java
You could also do this with a GridDecorator / GridRowDecorator http://tapestry-stitch.uklance.cloudbees.net/griddecoratordemo -- View this message in context: http://tapestry.1045711.n5.nabble.com/Renders-2-rows-using-the-Grid-component-tp5720560p5720566.html Sent from the Tapestry - User

Re: Renders 2 rows using the Grid component

2013-03-19 Thread Dongmei Cao
Thanks for the trickery! I can definitely use it. -Original Message- From: Norman Franke Reply-To: Tapestry users Date: Tuesday, March 19, 2013 1:59 PM To: Tapestry users Subject: Re: Renders 2 rows using the Grid component >You can do it, but it's a bit of a hack. I'

Re: Renders 2 rows using the Grid component

2013-03-19 Thread Norman Franke
You can do it, but it's a bit of a hack. I've taken two approaches: 1. Have an extra column that's hidden where we add some special trickery or 2. Define the last column with some extra trickery. Here is what I do for the trickery: ${row.lastColumnValue} ${row.bonusColumn1} ${row.bonusCo

Renders 2 rows using the Grid component

2013-03-19 Thread Dongmei Cao
Hi, Is this possible? I'm using the Grid component. But I need to render 2 rows per object from the source. For example, I have a list of Employees. I would like to render one row to include the firstname, lastname and email, then the second row with other details, such as, address, phone number,