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 2009/01/16 03:19:00 UTC

[jira] Commented: (WICKET-2021) When a form is not valid, the textfields become with "raw input" and can't change its model on subsequent requests

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

Matej Knopp commented on WICKET-2021:
-------------------------------------

Also you can call clearInput on form - that will clear input on all form components within the form

> When a form is not valid, the textfields become with "raw input" and can't change its model on subsequent requests
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-2021
>                 URL: https://issues.apache.org/jira/browse/WICKET-2021
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-RC1
>            Reporter: Adriano dos Santos Fernandes
>            Assignee: Igor Vaynberg
>             Fix For: 1.5-M1
>
>         Attachments: formvalidationtest.tar.gz, patch.diff
>
>
> Quickstart attached. To reproduce:
> 1) Open the homepage
> 2) Enter something on the second field and click submit
> 3) An error is displayed - the first field is required
> 4) Click changeModel (that doesn't submit the form)
> 5) The labels update, but the textfields doesn't
> Also attached a patch that seems to fix the problem.

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