[
https://issues.apache.org/jira/browse/WICKET-1368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13078566#comment-13078566
]
Alun-Chen commented on WICKET-1368:
-----------------------------------
is well
> ModalWindow causes display of JavaScript message "Reloading this page will
> cause modal window to disappear" when calling setResponsePage() in
> AjaxButton.onSubmit after ModalWindow.close(target)
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: WICKET-1368
> URL: https://issues.apache.org/jira/browse/WICKET-1368
> Project: Wicket
> Issue Type: Bug
> Components: wicket-core
> Affects Versions: 1.3.1
> Environment: Windows Vista, JDK 1.6, Firefox 2 and Internet Explorer 7
> Reporter: Bernd Mrohs
> Assignee: Matej Knopp
> Priority: Minor
>
> A ModalWindow is used to display a form. This form is submitted using an
> AjaxButton. In the onSubmit method, the form fields are processed, and then
> close(target) of the ModalWindow is called to close it. After the close,
> setResponsePage(someother.class) is called to redirect the user. This
> setResponsePage() leads to a JavaScript message "Reloading this page will
> cause modal window to disappear", and the ModalWindow is not closes. This
> happens with Firefox 2 and Internet Explorer 7. If setResponsePage() is not
> called, the ModalWindow closes perfectly.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira