Hi, the application I've been developing have to open modal dialogs in sequence. I have a dialog A, which is a panel with an AjaxLink, and when this AjaxLink is pressed, the dialog A should close and dialog B, which content is a WebPage, should be opened.
In order to close dialog A before opening dialog B, the only way I found to do that is simulating the click of an AjaxSubmitLink of the page that contains all these modal dialogs, appending some javascript on the AjaxRequestTarget, which calls the onClick() of the AjaxSubmitLink. This is done when I click the AjaxLink of the panel of dialog A. After that, dialog B is being correctly opened. This dialog B also has an AjaxLink, which should close dialog B. This AjaxLink just call ModalWindow.closeCurrent(target); The problem is that when I click this AjaxLink, I'm getting a PageExpired error. Am I doing something wrong? Does anyone have any idea of why I'm getting this PageExpired? Is there an easier way to open modal dialogs in sequence, opening a new one only the previous one is closed? Daniel -- View this message in context: http://www.nabble.com/Page-Expired-with-ModalWindow-tp17993206p17993206.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
