Wicket examples: repeaters

2013-01-20 Thread Lucio Crusca
Hello *, I'm trying to understand repeaters and DataTable from WicketExamples. I'm definitely having a hard time... http://www.wicket-library.com/wicket-examples-6.0.x/repeater/ The running example shows a nice table with sorting column headers. However looking at what pretends to be the

Re: Wicket examples: repeaters

2013-01-20 Thread Sven Meier
DefaultDataTable uses a HeadersToolbar, which renders sortable headers *if* a column is sortable. For that the column has to return true from #isSortable() . PropertyColumn supports sorting, but for that you have to provide a sortProperty. Note the third constructor argument: