Very true
+1 for adding a overridable method

2009/4/30 Vladimir K <[email protected]>:
>
> put the following into the <head> section of your page:
>
>                <script language="javascript" type="text/javascript">
>                        jQuery(document).ready(function(){
>                                if (typeof Wicket != 'undefined' && 
> Wicket.Window)
>                                        Wicket.Window.unloadConfirmation = 
> false;
>                        });
>                </script>
>
> I don't like this approach because it violateds incapsulation. It should has
> been implemented as overridable method of ModalWindow.
>
>
> Vidhya Kailash wrote:
>>
>> 1. How do I disable the popup that comes on click inside the modal window:
>> "Are you sure you want to navigate away from this page"?
>>
>
> --
> View this message in context: 
> http://www.nabble.com/ModalWindows...-tp23300556p23309702.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to