Re: grid containing multiple types of same interface

2010-11-24 Thread Thiago H. de Paula Figueiredo
On Wed, 24 Nov 2010 20:27:51 -0200, Paul Stanton wrote: by 'manually create the model' do you mean 'create your own implementation of GridModel' ? No. Inject the BeanModelSource and use its createDisplayModel() method to get a GridModel instance. -- Thiago H. de Paula Figueiredo Indepe

Re: grid containing multiple types of same interface

2010-11-24 Thread Paul Stanton
by 'manually create the model' do you mean 'create your own implementation of GridModel' ? can you provide an example? On 25/11/2010 12:50 AM, LLTYK wrote: You manually create the grid model, which lets you specifically tell it to use the interface. --

Re: grid containing multiple types of same interface

2010-11-24 Thread LLTYK
You manually create the grid model, which lets you specifically tell it to use the interface. -- View this message in context: http://tapestry-users.832.n2.nabble.com/grid-containing-multiple-types-of-same-interface-tp5769095p5770402.html Sent from the Tapestry Users mailing list archive at

grid containing multiple types of same interface

2010-11-23 Thread Paul Stanton
I'm trying to make a grid that is backed by a list of items which implement an interface, however it looks like the grid caches the concrete type of the first item and expects every other item to be of the same type. Is there a way to avoid this behaviour? Regards, Paul. Caused by: java.lang