[ 
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.

Reply via email to