You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2013/01/10 21:56:12 UTC

[jira] [Comment Edited] (WICKET-4961) wicket ajax submit does not serialize elements of parental forms

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

Sven Meier edited comment on WICKET-4961 at 1/10/13 8:55 PM:
-------------------------------------------------------------

According to the "Nested Forms Specification" on https://cwiki.apache.org/WICKET/nested-forms.html

  ... When submitting a nested form, the entire <form> is submitted (including fileuploads), but processed according to ...

Although FormComponents of parental forms are not processed, they nevertheless expect their input to be submitted to be able to read it into the raw input.
With wicket-ajax-jquery.js this contract was broken, only elements inside the nested form are serialized and submitted to the server.
                
      was (Author: svenmeier):
    According to the "Nested Forms Specification" (https://cwiki.apache.org/WICKET/nested-forms.html):

  ... When submitting a nested form, the entire <form> is submitted (including fileuploads), but processed according to ...

Although FormComponents of parental forms are not processed, they nevertheless expect their input to be submitted to be able to read it into the raw input.
With wicket-ajax-jquery.js this contract was broken, only elements inside the nested form are serialized and submitted to the server.
                  
> wicket ajax submit does not serialize elements of parental forms
> ----------------------------------------------------------------
>
>                 Key: WICKET-4961
>                 URL: https://issues.apache.org/jira/browse/WICKET-4961
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.4.0
>            Reporter: Damien M.
>            Assignee: Sven Meier
>         Attachments: quickstart_http.zip
>
>
> Since Wicket 6.4.0 there is a problem with nested form.
> If i submit child form and append root form in target, refresh is broken.
> I make a quickstart for this problem :
>  - Select a radio button
>  - enter data in textfield
>  - submit form
> => selected radio button has disappeared
> If you change wicket version from pom.xml to 1.5.8, it's work perfectly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira