Hi All, when I tried to migrate to wicket 1.5 I found strange things. One of them is - modal window does not show second time. In sample below - click to "show" -> on opened modal window click to "close" -> second click to "show" does not make effect.
//Base page: public ShowCloseTestPage() { final ModalWindow window = new ModalWindow("window"); window.setPageCreator(new ModalWindow.PageCreator() { @Override public Page createPage() { return new ShowCloseContentTestPage(window); } }); add(window); add(new AjaxLink<Void>("show") { @Override public void onClick(AjaxRequestTarget target) { window.show(target); } }); } //Modal Window page: public ShowCloseContentTestPage(final ModalWindow window) { add(new AjaxLink<Void>("close") { @Override public void onClick(AjaxRequestTarget target) { window.close(target); } }); } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Modal-Window-does-not-open-second-time-tp3824184p3824184.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