[ 
https://issues.apache.org/jira/browse/WICKET-3087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pedro Santos updated WICKET-3087:
---------------------------------

    Attachment: patch.txt

IMO the javascript codification to restore the component DOM should be removed 
as well. Let me know if I'm going in the right direction.

> Form inside ModalWindow causes 'Submit Button not visible' exception in 
> parent page's form
> ------------------------------------------------------------------------------------------
>
>                 Key: WICKET-3087
>                 URL: https://issues.apache.org/jira/browse/WICKET-3087
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket, wicket-extensions
>    Affects Versions: 1.4.12
>         Environment: Problem seems affect Firefox (ver 3.6.10) and Opera (ver 
> 10.62). Chrome it's ok (ver. 6).
>            Reporter: Andera Del Bene
>         Attachments: BugQuickStart.zip, patch.txt
>
>
>  We've got a page with a wicket form and just one submit button. When we 
> press return key in a form field the form is submitted
> with no problem. Inside form we have one link that opens a ModalWindow via 
> ajax.
> This window contains another wicket form which is submitted by a 
> IndicatingAjaxButton.
> The problem comes when we hit return key on parent page's form after we've 
> opened and closed ModalWindow. In this case we get the following exception:
> "org.apache.wicket.WicketRuntimeException: Submit Button <window's button 
> name>
> is not visible".
> It seems that even if we have closed window, its submit button is still be 
> active. 

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