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

AjaxEditableChoiceLabel won't close select onblur

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.0, 6.1.0
    • Fix Version/s: 6.2.0
    • Component/s: wicket-extensions
    • Labels:
      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.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development