You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Vidhya Kailash <sr...@yahoo.com> on 2009/04/29 18:12:13 UTC
ModalWindows...
I am newbie and apologize if this has been answered multiple times... but googling didnt help! have a few questions with the modalwindow:
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"?
2. Submit from a Form inside the modal window (which is a panel) takes the user back to the homepage instead of the page that launched the window... what could be wrong?
many thanks
Re: ModalWindows...
Posted by Vidhya Kailash <sr...@yahoo.com>.
Thank you all. I havnt tried these yet, but I think I got what I was looking for.
thanks
Vidhya
--- On Thu, 4/30/09, Vladimir K <ko...@gmail.com> wrote:
From: Vladimir K <ko...@gmail.com>
Subject: Re: ModalWindows...
To: users@wicket.apache.org
Date: Thursday, April 30, 2009, 3:16 AM
https://issues.apache.org/jira/browse/WICKET-2249
vote for it
nino martinez wael wrote:
>
> Very true
> +1 for adding a overridable method
>
> 2009/4/30 Vladimir K <ko...@gmail.com>:
>>
>> 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: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
--
View this message in context:
http://www.nabble.com/ModalWindows...-tp23300556p23311160.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: ModalWindows...
Posted by Vladimir K <ko...@gmail.com>.
https://issues.apache.org/jira/browse/WICKET-2249
vote for it
nino martinez wael wrote:
>
> Very true
> +1 for adding a overridable method
>
> 2009/4/30 Vladimir K <ko...@gmail.com>:
>>
>> 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: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/ModalWindows...-tp23300556p23311160.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: ModalWindows...
Posted by nino martinez wael <ni...@gmail.com>.
Very true
+1 for adding a overridable method
2009/4/30 Vladimir K <ko...@gmail.com>:
>
> 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: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: ModalWindows...
Posted by Vladimir K <ko...@gmail.com>.
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: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: ModalWindows...
Posted by Manuel Corrales <ma...@gmail.com>.
Can you give us more information? 1. I am not familiar with any popup when
you are closing a modal window. Can you be more specific or show some code?
2. What's your code inside the onSubmit method?
Regards.
On Wed, Apr 29, 2009 at 1:12 PM, Vidhya Kailash <sr...@yahoo.com>wrote:
> I am newbie and apologize if this has been answered multiple times... but
> googling didnt help! have a few questions with the modalwindow:
> 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"?
> 2. Submit from a Form inside the modal window (which is a panel) takes the
> user back to the homepage instead of the page that launched the window...
> what could be wrong?
>
> many thanks
>
>
>
>