[
https://issues.apache.org/jira/browse/WICKET-5948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15071000#comment-15071000
]
Martin Grigorov commented on WICKET-5948:
-----------------------------------------
Since Wicket 6.22/7.2.0 (see WICKET-6050) you should use:
{code}
protected void updateAjaxAttributes(AjaxRequestAttributes attributes) {
attributes.setSerializeRecursively(true);
}
{code}
to serialize the children HTML form elements when needed.
> wicket-ajax.js probably doesn't traverse the children of <div> or <span>
> ------------------------------------------------------------------------
>
> Key: WICKET-5948
> URL: https://issues.apache.org/jira/browse/WICKET-5948
> Project: Wicket
> Issue Type: Improvement
> Affects Versions: 6.20.0
> Reporter: Vaclav Cermak
> Assignee: Martin Grigorov
> Priority: Minor
> Fix For: 6.21.0, 7.1.0
>
> Attachments: kendoui.datetimepicker-test.zip
>
>
> I tried to add AjaxFormComponentUpdatingBehavior (with onchange event) to a
> DateTimePicker from wicket-jquery-ui. It ends with following error when I
> change input value from browser:
> {code}
> Value of variable [[date]] could not be resolved while interpolating [[Error
> while parsing datetime: date was '${date}' and time was '${time}']]
> {code}
> Wicket probably does not update input values with Ajax, more discussion here:
> https://groups.google.com/forum/#!topic/wicket-jquery-ui/ZKzfPkm51WQ
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)