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

Koen Molkenboer commented on WICKET-3100:
-----------------------------------------

Hi pedro,

Yes I can do the following:
protected void onSelectionChanged(String newSelection) {
  form.modelChanged();
}

But why is the Label updated without this?
And why does this work without a Form?


> Value of a TextField is not updated after model changes within a Form
> ---------------------------------------------------------------------
>
>                 Key: WICKET-3100
>                 URL: https://issues.apache.org/jira/browse/WICKET-3100
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.10
>         Environment: Mac OS X Snow Leopard, Java 1.6.x
>            Reporter: Koen Molkenboer
>         Attachments: wicket-bug.zip
>
>
> I have a page with a TextField and a DropDownChoice, when the selection of 
> the DropDownChoice changes I want to update the value of the TextField by 
> changing the model. 
> This does not work if those components are part of a Form, without the use of 
> the Form it is working.
> See the attachment for the source code.

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

Reply via email to