You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (Resolved) (JIRA)" <ji...@apache.org> on 2011/11/09 12:00:52 UTC

[jira] [Resolved] (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 ]

Martin Grigorov resolved WICKET-4206.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.3
         Assignee: Martin Grigorov

Thanks!
                
> 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
>            Assignee: Martin Grigorov
>             Fix For: 1.5.3
>
>         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