Here is some more information on my initializating of the modal window:
add(userPageFindUserModal = new ModalWindow("findUserModalWindow")); userPageFindUserModal.setResizable(false); userPageFindUserModal.setInitialHeight(23); userPageFindUserModal.setInitialWidth(69); userPageFindUserModal.setWidthUnit("em"); userPageFindUserModal.setHeightUnit("em"); userPageFindUserModal.setUseInitialHeight(false); userPageFindUserModal.setCssClassName(ModalWindow.CSS_CLASS_GRAY); userPageFindUserModal.setPageCreator(new ModalWindow.PageCreator() { public Page createPage() { return new FindUserModal(UserPage.this.getPageReference(), userPageFindUserModal, server); } }); // on modal window close, this method will be called userPageFindUserModal.setCloseButtonCallback(new ModalWindow.CloseButtonCallback() { public boolean onCloseButtonClicked(AjaxRequestTarget target) { return true; } }); userPageFindUserModal.setWindowClosedCallback(new ModalWindow.WindowClosedCallback() { -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Error-in-Modal-opening-two-diffrent-instances-of-Wicket-applicaiton-tp4664418p4664420.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