Dear all, I have subclassed ModalWindow to create a modal window that appears when a page starts loading and disappears when page load is complete.
The window is added to the main panel of the page -- and has a corresponding element in the markup. This is my renderHead method: public void renderHead(IHeaderResponse response) { response.render(OnDomReadyHeaderItem.forScript(getWindowOpenJavaScript())); response.render(OnLoadHeaderItem.forScript(getCloseJavacript())); } The purpose of the modal dialog box is to prevent the user from entering data before the page has loaded completely. If the user does enter data prematurely, his data may be ignored, and we want to avoid this. Any tips to get the modal dialog box up at an earlier stage that please can be provided will be greatly appreciated. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Modal-dialog-box-to-appear-upon-page-load-is-too-late-tp4663551.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