Re: Why has a cell item a model (and why is it a model with the populator (with the property) of the column)?

2017-05-04 Thread Sven Meier
Hi, just to correct myself: each cell holds in its model the populator for the *corresponding* column . Never seen it being used, but no problem. Have fun Sven On 04.05.2017 09:00, Eric J. Van der Velden wrote: Hi Sven, Thank you! No, I was just wondering. I have not seen this model

Re: Why has a cell item a model (and why is it a model with the populator (with the property) of the column)?

2017-05-04 Thread Eric J. Van der Velden
Hi Sven, Thank you! No, I was just wondering. I have not seen this model used. On Wed, May 3, 2017 at 1:44 PM, Sven Meier wrote: > Hi, > > a cell item is an org.apache.wicket.markup.repeater.Item, and each item > has > a model - so AbstractDataGridView just uses a model

Re: Why has a cell item a model (and why is it a model with the populator (with the property) of the column)?

2017-05-03 Thread Sven Meier
Hi, a cell item is an org.apache.wicket.markup.repeater.Item, and each item has a model - so AbstractDataGridView just uses a model containing the ICellPopulator for that. It seems strange, that all cells of a row share the same model object, but it does no harm. Do you see a problem? Have fun

Why has a cell item a model (and why is it a model with the populator (with the property) of the column)?

2017-05-03 Thread Eric J. Van der Velden
Hello, I don't understand why a cell item gets a model, because I have not seen where it is used. Only the model in the row item is used, together with the property of the column. Also why is the populator of the column in that model? public abstract class AbstractDataGridView extends