Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4206

DatePicker dialog closed, when the user clicks on calendar navigator with autoHide == true

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.3
    • Component/s: wicket-datetime
    • Labels:
      None

      Description

      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

        Attachments

        1. fix-WICKET-4206.patch
          0.7 kB
          Alexey Skorobogatov

          Activity

            People

            • Assignee:
              mgrigorov Martin Tzvetanov Grigorov
              Reporter:
              avskor Alexey Skorobogatov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: