To all users with questions about position and sorting problems: I'm
implementing jQuery Sortable because jQuery Accordion has an option
'sortable'.
This will look like this
class MyClass implements ISortable {
...
onSorted(final int newPosition) {
...
}
}
Somewhere in page
<div wicket:id="sortable"/>
Somewhere in code
List<MyClass> myList;
Sortable = new Sortable("sortable", myList) {
@Override
protected Component getContent(final String id,
IModel<MyClass> model) {
/* Render the content for one list item */
}
}
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]