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

AjaxEditableChoiceLabel won't close select onblur

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.0.0, 6.1.0
    • 6.2.0
    • wicket-extensions
    • None

    Description

      AjaxEditableChoiceLabel won´t close the select combo (showed after clicking in the asociated label) when it losses the focus. It's supossed to call the onCancel method like it does in AjaxEditableLabel but the select turns into a label only selecting a different value in the select combo (it doesn't work pressing Escape or clicking in other part of the page).
      I fix it localy adding this code:

      editor.add(new AjaxEventBehavior("blur") {
      protected void onEvent(AjaxRequestTarget target)

      { AjaxEditableChoiceLabel.this.onCancel(target); }

      });

      For the editor declared as DropDownChoice in line 183 of AjaxEditableChoiceLabel .java.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            sscialabba Sebastian Scialabba
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: