You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2007/03/21 19:28:32 UTC

[jira] Commented: (WICKET-85) FormTester does not set request parameters for unchanged form fields

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

Igor Vaynberg commented on WICKET-85:
-------------------------------------

eelco can you please set whatever the fix version was for this and WICKET-83 so it appears in our changelog

> FormTester does not set request parameters for unchanged form fields
> --------------------------------------------------------------------
>
>                 Key: WICKET-85
>                 URL: https://issues.apache.org/jira/browse/WICKET-85
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.2.3
>            Reporter: Jean-Baptiste Quenot
>         Attachments: 20061117-wicket-1.x-FormTester
>
>
> When using the FormTester, the Form is correctly having its field values, but FormTester does not call setFormComponentValue() for every field.  Thus, the request parameters are not set for the next request, when submit() is called.
> The workaround is to call setValue() for every field.
> The attached patch fixes the problem for AbstractTextComponent.  It also adds a new method getTextComponentValue() as a shortcut to access a field value.

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