You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2014/07/10 20:00:11 UTC

[jira] [Commented] (WICKET-5636) Submit repeated form components on stateless forms

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

Martin Grigorov commented on WICKET-5636:
-----------------------------------------

The problem with ListView and RefreshingView is that they create their children at render time.
Since the page is re-created (due to being stateless) there are no FormComponents at the action phase (onSubmit) to consume the posted data and populate the model.

I'll update the javadoc of all related components to explain this behavior.

> Submit repeated form components on stateless forms 
> ---------------------------------------------------
>
>                 Key: WICKET-5636
>                 URL: https://issues.apache.org/jira/browse/WICKET-5636
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.16.0
>            Reporter: Per Newgro
>              Labels: Form, ListView, Stateless,, Submit
>         Attachments: myproject-repeatingview.tgz, myproject.zip
>
>
> I would like to submit some input fields added to a repeater by a stateless form. My added test is working by using a Form.class but not with a StatelessForm.class.
> The hint by Martin to use another repeater than a listview has the same results. I've added both repeaters to the quickstart code.
> What i don't understand is that there is nothing in the request parameters while i debugged the WicketFilter.class.



--
This message was sent by Atlassian JIRA
(v6.2#6252)