[ 
https://issues.apache.org/jira/browse/WICKET-6125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Grigorov resolved WICKET-6125.
-------------------------------------
    Resolution: Not A Problem

Please use users@ mailing list of StackOverflow for help!

> AjaxFormComponentUpdatingBehavior - onUpdate - Field Required
> -------------------------------------------------------------
>
>                 Key: WICKET-6125
>                 URL: https://issues.apache.org/jira/browse/WICKET-6125
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 7.2.0
>            Reporter: Guillaume CHIRON
>            Priority: Minor
>              Labels: ajax
>
> Hello,
> I use AjaxFormComponentUpdatingBehavior("change").
> When a field is required and the field is empty the onUpdate method is not 
> call.
> In AjaxFormComponentUpdatingBehavior :
>                       if (formComponent.isValid())
>                       {
>                               if (getUpdateModel())
>                               {
>                                       formComponent.valid();
>                                       formComponent.updateModel();
>                               }
>                               onUpdate(target);
>                       }
>                       else
>                       {
>                               formComponent.invalid();
>                               onError(target, null);
>                       }
> My model is not updated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to