JQBehavior and ajax

18 views
Skip to first unread message

decebal

unread,
Mar 19, 2012, 11:06:16 AM3/19/12
to jqwicket-user
Hi

I try to port an application from wiquery to jqwicket and I have some
problems related to ajax.

For example in wiquery I have these code lines (the code it's simple
to understand without comments):

toogle.add(new WiQueryAjaxEventBehavior(MouseEvent.CLICK) {

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

and

SortableAjaxBehavior sortableAjaxBehavior = new SortableAjaxBehavior()
{

public void onReceive(Component sortedComponent, int index,
Component parentSortedComponent, AjaxRequestTarget
ajaxRequestTarget) { ... }


public void onRemove(Component sortedComponent, AjaxRequestTarget
ajaxRequestTarget) { ... }

public void onUpdate(Component sortedComponent, int index,
AjaxRequestTarget ajaxRequestTarget) { ...}

}


Any advice How can I translate these code lines from wiquery in
jqwicket.

Best regards,
Decebal



Reply all
Reply to author
Forward
0 new messages