Hi ; 

I used AbstractDefaultAjaxBehavior to catch jquery close event. 

On jquery side i triggered event when jquery event window closed. 

wicketAjaxGet('"+behavior.getCallbackUrl()+ "'");

It is little tricky.

Thanks.



________________________________
From: Lurtz Nazgul <lu...@ymail.com>
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 below but it doesn't work

        dialogConfirmation.add(new AjaxEventBehavior("close") {
              @Override
              protected void onEvent(AjaxRequestTarget target) {
                  System.out.println(" closed" );
              }
        }) ;

Thanks.

Reply via email to