You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Matej Knopp (JIRA)" <ji...@apache.org> on 2010/11/16 17:18:17 UTC

[jira] Commented: (WICKET-3146) Make form inside ModalWindow work without form outside ModalWindow

    [ https://issues.apache.org/jira/browse/WICKET-3146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932521#action_12932521 ] 

Matej Knopp commented on WICKET-3146:
-------------------------------------

This will break if you put any form components into modal window and have the modal window inside a form.
If you use form in modal window you always have to put modal window in another form. Wicket will realize this and replace all form tags inside model window with div. The form tag in modal window markup has to be there because when the modal window is shown it is taken out of DOM hierarchy and put as toplevel element.

> Make form inside ModalWindow work without form outside ModalWindow
> ------------------------------------------------------------------
>
>                 Key: WICKET-3146
>                 URL: https://issues.apache.org/jira/browse/WICKET-3146
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-extensions
>    Affects Versions: 1.4.10
>            Reporter: Frank Klein Koerkamp
>         Attachments: fix_form_in_modalwindow.diff
>
>   Original Estimate: 0.02h
>  Remaining Estimate: 0.02h
>
> Currently is needed to have an Form outside an ModalWindow if you want to use a Form inside a ModalWindow.
> This is not needed when the form tag is not necessary in the ModalWindow generation javascript js.
> Will apply a patch

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.