You can use WindowClosedCallback...

      modalWindow.setWindowClosedCallback(new
ModalWindow.WindowClosedCallback() {
        public void onClose(AjaxRequestTarget target) {
   ---> redirect
        }
      });


**
Martin

2008/12/19 HITECH79 <hitec...@web.de>:
>
> Hallo wicket-friends,
>
>
> i have following problem.
>
> - I save a model to database. On success a SaveFeedbackDialog (in modal
> window) is showing. With a SubmitLink in the modal window you can close the
> SaveFeedbackDialog(MODAL), but i cant redirect to the OverviewPage.class in
> MainWindow. The Overviewpage is displayed in the SaveFeedbackDialog(MODAL).
>
> {
> saveFeedbackDialog.close(ajaxRequestTarget);
> setResponsePage(OverviewPage.class);
> }
>
>
> Whats the problem or resolution??
>
> Thanls
>
>
>
> --
> View this message in context: 
> http://www.nabble.com/Closing-Modal-Window-and-redirect-to-anonther-Page%21-Problem%21-tp21093604p21093604.html
> Sent from the Wicket - User 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
>
>

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

Reply via email to