Package org.ujorm.wicket.component.grid

Class Summary
AbstractDataProvider<U extends Ujo> This class called UjoDataProvider is an common Wicket DataProvider to create an AJAX DataTable component.
CommonAction<U extends Ujo> The common action panel
CommonActionPanel<U extends Ujo> The common action panel
KeyColumn<U extends Ujo,T> A convenience implementation of column that adds a Ujo Property to the cell whose model is determined by the provided wicket key 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 key model for the expression
 "name.first"
KeyColumnBoolean<U extends Ujo> Key column for a boolean data type
KeyColumnDate<U extends Ujo> Key column for a Date data type
KeyColumnEnum<U extends Ujo,T extends Enum<T>> Key column for a Date data type
KeyPopulator<UJO extends Ujo,T> A convenience implementation of ICellPopulator that adds a label that will display the value of the specified key.
ListDataProvider<U extends Ujo> This class called ListDataProvider is a List based DataProvider.
OrmDataProvider<U extends OrmUjo> This class called OrmDataProvider is an ORM based Wicket DataProvider.
UjoDataProvider<U extends OrmUjo> Deprecated. Use the class OrmDataProvider rather.
UjoDataTable<T,S> Extended DataTable for a cleaner generated HTML code.
 



Copyright © 2015. All Rights Reserved.