catch jquery event at AjaxEventBehavior

2011-08-01 Thread Lurtz Nazgul
Hi; I used jquery dialog. I can open and close jquery dialog box. I represent jquery dialog as a panel at wicket side. My question is how can i catch jquery close event ? I tested like below but it doesn't work dialogConfirmation.add(new AjaxEventBehavior(close) {

Re: catch jquery event at AjaxEventBehavior

2011-08-01 Thread julien roche
Hi, You can use the setCloseEvent method of the Dialog component: http://code.google.com/p/wiquery/source/browse/trunk/src/main/java/org/odlabs/wiquery/ui/dialog/Dialog.java#702 And if you want to associate the event to an Ajax Behavior, I suggest you to look on this example (

Re: catch jquery event at AjaxEventBehavior

2011-08-01 Thread Lurtz Nazgul
To: users@wicket.apache.org Sent: Mon, August 1, 2011 9:57:30 AM Subject: catch jquery event at AjaxEventBehavior Hi; I used jquery dialog. I can open and close jquery dialog box. I represent jquery dialog as a panel at wicket side. My question is how can i catch jquery close event ? I tested like