I tried changing that list to
public void refresh( List list ) {
list.clear( );
this.list.addAll( abcManager.getAllGaps( ) );
}
but that didn't seem to make a difference - but I could see how that would
update the wrong list if it was being called.
I can't help but think I have to do something with the DefaultDataTable
columns (even though I am not sure the provider is even being called) as I
am only doing this:
DefaultDataTable table = new DefaultDataTable("abctable", getColumns(),
abcProvider , 10);
private List> getColumns() {
List Abc>> result = new ArrayList<IColumn&lt;Abc>>();
result.add( new PropertyColumn(new Model("Abc Description"),
"AbcDescription", "AbcDescription" ));
result.add( new DatePropertyColumn(new Model("Abc Date"), AbcDate",
"AbcDate" ));
Does the DefaultDataTable know how to populate each cell with the next
value in the Abc object its being populated?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/how-to-populate-SortableDataProvider-tp3397372p3397546.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]