A convinience implementation of column that adds a label to the cell whose
model is determined by the provided wicket property expression (same as used
by
PropertyModel ) that is evaluated against the current row's model
object
Example
columns[0] = new PropertyColumn(new Model("First Name"), "name.first");
The above will attach a label to the cell with a property model for the
expression "name.first"
See Also:PropertyModel author: Igor Vaynberg ( ivaynberg )
public PropertyColumn(IModel displayModel, String sortProperty, String propertyExpression)(Code)
Creates a property column that is also sortable
Parameters: displayModel - display model Parameters: sortProperty - sort property Parameters: propertyExpression - wicket property expression used by PropertyModel
PropertyColumn
public PropertyColumn(IModel displayModel, String propertyExpressions)(Code)
Creates a non sortable property column
Parameters: displayModel - display model Parameters: propertyExpressions - wicket property expression See Also:PropertyModel
Implementation of populateItem which adds a label to the cell whose model
is the provided property expression evaluated agains rowModelObject
See Also:ICellPopulator.populateItem(ItemStringIModel)
Methods inherited from wicket.extensions.markup.html.repeater.data.table.AbstractColumn