what is the type of the errorWindow? Is the errorWindow a new page or a part of the existing page?
Best regards, Mo Newgro wrote: > > >> I know how to show the exception in a feedback panel. But how to make the >> popup dependent on the results of submission > You could add the errorWindow to your page and in your catch you can > show it. But it's only working with ajax. > > add errorWindow to markup and in class. > > try { > exceptionalCode(); > } catch (TheExpectedException e) { > errorWindow.setModel(new Model(e)); > errorWindow.show(); > } > > --------------------------------------------------------------------- > To unsubscribe, 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-make-a-popup-page-for-exception-handling--tp21588129p21600597.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