[
https://issues.apache.org/jira/browse/WICKET-4496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13256251#comment-13256251
]
Mihai Dinca-Panaitescu commented on WICKET-4496:
------------------------------------------------
I added AjaxFormComponentUpdatingBehavior to subcomponents because if we add it
to DateField directly the onUpdate method is never called.
DateField and especially DateTimeField need a way to update a date model. I do
not know how to do it. If I can only take parts of date (like minutes , hours)
then it seems I have to create my date object by myself anytime i modify a
subcomponent.
> DateField and a DateTimeField in the onUpdate method for an
> AjaxFormComponentUpdatingBehavior , the model is never updated
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: WICKET-4496
> URL: https://issues.apache.org/jira/browse/WICKET-4496
> Project: Wicket
> Issue Type: Bug
> Components: wicket-datetime
> Affects Versions: 1.5.5
> Environment: Windows Vista
> Reporter: Mihai Dinca-Panaitescu
> Attachments: datefield.zip
>
>
> For a DateField and a DateTimeField in the onUpdate method for an
> AjaxFormComponentUpdatingBehavior , the model is never updated, it rests with
> the initial date selection.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira