Hi

First, onStopWidgetMove() function from dashboard.js is called on
sortableBehavior.setStopEvent(). That js function creates a json with the
new widgets positions. Second, the StopSortableAjaxBehavior (see respond
method) is called with parameter data (json created above).

For more info see:

protected void onBind() {
        getComponent().add(sortableBehavior);
        sortableBehavior.setStopEvent(new JsScopeUiEvent() {
        ...
        });
}


protected void respond(AjaxRequestTarget target) {
       ...
}

Best regards,
Decebal




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/WiQuery-SortableBehavior-DroppableBehavior-questions-tp4653349p4653434.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