You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Bernd (JIRA)" <ji...@apache.org> on 2008/02/25 16:54:51 UTC
[jira] Created: (WICKET-1368) 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)
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
Affects Versions: 1.3.1
Environment: Windows Vista, JDK 1.6, Firefox 2 and Internet Explorer 7
Reporter: Bernd
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.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WICKET-1368) 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)
Posted by "Matej Knopp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matej Knopp resolved WICKET-1368.
---------------------------------
Resolution: Invalid
Set the Wicket.Window.unloadConfirmation = false; javascript flag somewhere on your page
> 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
> 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.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (WICKET-1368) 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)
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg reassigned WICKET-1368:
-------------------------------------
Assignee: Matej Knopp
> 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
> 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.
-
You can reply to this email to add a comment to the issue online.