add overridable wantUnloadConfirmation() method
-----------------------------------------------

                 Key: WICKET-2249
                 URL: https://issues.apache.org/jira/browse/WICKET-2249
             Project: Wicket
          Issue Type: Improvement
          Components: wicket-extensions
    Affects Versions: 1.4-RC2
            Reporter: Vladimir Kovalyuk
            Priority: Minor


currently if I want to disable the confirmation I have to add JS excerpt: 
Wicket.Window.unloadConfirmation = false;

For the sake of OOD it should be primarily controlled via component itself. So 
adding an overridable method makes sense.

-- 
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