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.

Reply via email to