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

Martin Grigorov commented on WICKET-4496:
-----------------------------------------

Another solution is to call:

txtDate.processInput();

just before the System.out.println() call but since the Ajax behavior is 
instantiated in your code I don't see how Wicket can help by inserting this 
code snippet in the right place.
                
> 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

        

Reply via email to