subscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
--
View this message in context:
http://www.nabble.com/How-to-redirect-from-a-ModalWindow-tp25381117p25411990.html
Sent from the Wicket - User m
ld it be a good idea to have multiple
modal windows in the first place?
- Mikko
-Original Message-
From: Vladimir K [mailto:koval...@gmail.com]
Sent: 12. syyskuuta 2009 9:37
To: users@wicket.apache.org
Subject: Re: How to redirect from a ModalWindow
Try adding this on
al...@gmail.com]
Sent: 12. syyskuuta 2009 9:37
To: users@wicket.apache.org
Subject: Re: How to redirect from a ModalWindow
Try adding this one to the page markup
jQuery(document).ready(function(){
if (typeof Wicke
>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>
>
>
>
--
That is sick! :-(
Isn't there a better solution?
Am 11.09.2009 um 08:42 schrieb Michal Kurtak:
Hi Matthias,
Try to navigate to another page from WindowClosedCallback
window.close(target);
window.setWindowClosedCallback(new WindowClosedCallback()
{
public void onClose(AjaxRequestTarget t
Hi Matthias,
Try to navigate to another page from WindowClosedCallback
window.close(target);
window.setWindowClosedCallback(new WindowClosedCallback()
{
public void onClose(AjaxRequestTarget target)
{
setResponsePage(OtherPage.class);
}
}
But remember to remove WindowC
Hi Peter
You would be right as long as it wasn't for a ModalWindow.
When having an open ModalWindow, wicket seems to register an unload
javascript event which - when trying to navigate away from the page (be
it by following a link, closing the window etc), displays a confirmation
message which
throw new RestartResponseException(OtherPage.class)
window.close() is not needed!
Am 10.09.2009 um 12:50 schrieb Matthias Keller:
OtherPage.class
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For addi
Hi
I've got a ModalWindow which lets the user select some choices.
Now I need a button in that ModalWindow allowing the user to enter some
new choices.
I don't want that target to be another ModalWindow (as it's referenced
from other places too), so I need to redirect the user to that new page