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