Re: load page in Wicket and message from web browser

2012-08-09 Thread vaibhav2012
Hi areq10,

I tried to recreate your scenario and i came across the same situation you
are facing.

One query from you : Have you specified WindowClosedCallback for your
modalWindow???

If not Specify that using this piece of code :

modalWindow.setWindowClosedCallback(new ModalWindow.WindowClosedCallback() {
private static final long serialVersionUID = -1991891482338549420L;

@Override
public void onClose(AjaxRequestTarget target) {
System.out.println(Modal window closed);
setResponsePage(YOURPAGE.class);
}
});

Now when your modalWindow is closed the onClose method of above code is
called, which renders your page without any alert from browser side.



-
Regards,

Vaibhav Gupta
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/load-page-in-Wicket-and-message-from-web-browser-tp4651042p4651068.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: load page in Wicket and message from web browser

2012-08-08 Thread vaibhav2012
Hi,

I never came across such a scenario.
Can you show the exact piece of code you are using, i can try to figure out
by looking at it.



-
Regards,

Vaibhav Gupta
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/load-page-in-Wicket-and-message-from-web-browser-tp4651042p4651051.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org