[
https://issues.apache.org/jira/browse/WICKET-4213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wim van Ravesteijn (Topicus Zorg) updated WICKET-4213:
------------------------------------------------------
Attachment: DatePicker.java.patch
With this patch, the issue is fixed. It will prepend the javascript to remove
the datepicker in case the field is refreshed via ajax. The current code seems
to execute after displaying the new datepicker, removing the just drawn
datepicker.
> DatePicker fails to display when rendered via ajax response
> -----------------------------------------------------------
>
> Key: WICKET-4213
> URL: https://issues.apache.org/jira/browse/WICKET-4213
> Project: Wicket
> Issue Type: Bug
> Components: wicket-datetime
> Affects Versions: 1.5.1, 1.5.2
> Reporter: Wim van Ravesteijn (Topicus Zorg)
> Labels: patch
> Attachments: DatePicker.java.patch
>
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> When a DatePicker is rendered on a Page, it properly displays. But, when you
> put it on a Panel that is rendered via an AjaxLink, it will not show the
> datapicker icon, but generate a javascript error instead.
> If you look carefully, you'll see it appearing for a very short time when the
> Panel is rendered, but then it disappears again and you see javascript error.
--
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