You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Alexey Skorobogatov (Updated) (JIRA)" <ji...@apache.org> on 2011/11/08 14:43:51 UTC
[jira] [Updated] (WICKET-4206) DatePicker dialog closed, when the
user clicks on calendar navigator with autoHide == true
[ https://issues.apache.org/jira/browse/WICKET-4206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Skorobogatov updated WICKET-4206:
----------------------------------------
Attachment: fix-WICKET-4206.patch
Patch
> DatePicker dialog closed, when the user clicks on calendar navigator with autoHide == true
> ------------------------------------------------------------------------------------------
>
> Key: WICKET-4206
> URL: https://issues.apache.org/jira/browse/WICKET-4206
> Project: Wicket
> Issue Type: Bug
> Components: wicket-datetime
> Reporter: Alexey Skorobogatov
> Attachments: fix-WICKET-4206.patch
>
>
> Configure Calendar Navigator http://developer.yahoo.com/yui/examples/calendar/calnavigator_clean.html
> and set DatePicker autoHide option to true:
> DateTextField date2 = new DateTextField("date2");
> final DatePicker datePicker = new DatePicker() {
> @Override
> protected String getAdditionalJavaScript() {
> return "${calendar}.cfg.setProperty(\"navigator\",true,false); ${calendar}.render();";
> }
> };
> datePicker.setAutoHide(true);
> DatePicker dialog closed on month or year 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