Hi
After reading the Andrea’s book (Appendix B.5) finally I could fill a grid
simply with the following code, but when I want to navigate between pages at
run time I got a Page Expired error. I don’t know what is wrong.

final ListDataProvider listDataProvider = new
ListDataProvider(personnelDTOList);
List<IGridColumn> cols = (List) Arrays.asList(
        new PropertyColumn(new Model("PersonnelName"), "PersonnelName"),
        new PropertyColumn(new Model("PersonnelPhone"), "PersonnelPhone")
);
DataGrid grid = new DefaultDataGrid("grid", new
DataProviderAdapter(listDataProvider), cols);
add(grid);




-----
Regards
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Bind-ResultSet-of-a-SQL-query-with-wicket-datatable-tp4657793p4658003.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to