[ 
https://issues.apache.org/jira/browse/WICKET-3144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Grigorov reopened WICKET-3144:
-------------------------------------

      Assignee: Martin Grigorov

My quick investigation shows that ModalWIndow#init(){ add(new 
CloseButtonBehavior()); } should be made extendable: newCloseButtonBehavior() 
so the user app can provide custom IAjaxCallDecorator

> Extra client-side scripting before closing modalwindow
> ------------------------------------------------------
>
>                 Key: WICKET-3144
>                 URL: https://issues.apache.org/jira/browse/WICKET-3144
>             Project: Wicket
>          Issue Type: New Feature
>          Components: wicket-extensions
>            Reporter: Marieke Vandamme
>            Assignee: Martin Grigorov
>
> I would like to add extra client-side scripting that is executed before the 
> modalwindow is closed. 
> Now you can already add server-side with overriding onCloseButtonClicked, but 
> then the window is already closing. 
> I need this because I want to show a confirm-box to the user, so that he can 
> confirm that he wants to close the window.
> Thanks, Marieke Vandamme

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to