| Class | Description |
|---|---|
| KeyColumn<UJO extends Ujo,T> |
A convenience implementation of column that adds a Ujo Property 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:
public class DataTablePage2 extends WebPage { public DataTablePage2() { final EmployeeProvider userProvider = new EmployeeProvider(); final List<IColumn> columns = new ArrayList<IColumn>(); columns.add(new KeyColumn(Employee.ID)); columns.add(new KeyColumn(Employee.FIRSTNAME)); columns.add(new KeyColumn(Employee.LASTNAME)); columns.add(new KeyColumn(Employee.EMAIL)); columns.add(new KeyColumn(Employee.STUDENT)); add(new DefaultDataTable("datatable", columns, userProvider, 20)); } } The above will attach a label to the cell with a property model for the expression "name.first" |
| KeyColumnBoolean<UJO extends Ujo> |
Key column for a boolean data type
|
| KeyPopulator<UJO extends Ujo,T> |
A convenience implementation of
ICellPopulator that adds a label that will display the
value of the specified property. |
| UjoDataProvider<T extends OrmUjo> |
This class called UjoDataProvider is an database
Wicket DataProvider.
|
Copyright © 2013. All Rights Reserved.