These examples might help.

read (no encoder): 
http://jumpstart.doublenegative.com.au/jumpstart/examples/tables/grid
update (with encoder): 
http://jumpstart.doublenegative.com.au/jumpstart/examples/tables/editablegridforupdate1

Cheers,

Geoff

> On 14 May 2022, at 7:50 am, Christopher Dodunski (Tapestry) 
> <chrisfromtapes...@christopher.net.nz> wrote:
> 
> Thank you for those suggestions, Volker.
> 
> The common theme seems to be that I should allow Tapestry to create a default 
> BeanModel rather than create a new instance of one in my Java class, correct? 
>  Your second suggestion is nearest to what I've done, except that I return a 
> new BeanModel.
> 
> Just to clarify, Crewman is not a column but the row.  Except I've added a 
> synthetic column named 'action' which contains three pagelinks: 
> "read|update|delete" (how this cell gets rendered is defined inside a 
> <p:actionCell> tag).
> 
> The exception message suggested to me that Grid was having difficulty storing 
> Crewman objects into its 'row' parameter.  Is this your understanding also?
> 
> Kind regards,
> 
> Chris.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to