Edvin Syse wrote:
Has anyone had experience using jQuery's Sortables [1] with Wicket? These allow the user to reorder lists, even nested lists, by dropping and dragging them in the browser. The main interface back to Wicket would probably come in the "serialize" method, which returns a String representing the new ordering of the items in a Form-escaped format, probably best shown with an example.

Try the DnDSortableHandler from wicketstuff-jquery. It gives you a nice method to override like this:

public boolean onDnD(AjaxRequestTarget target, MarkupContainer srcContainer, int srcPos,MarkupContainer destContainer, int destPos);

Quite easy to setup and use :)

Great.  I'll check it out.  Thank you very much,

  -- Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to