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

CheckBoxMultipleChoice does not respect isEnabled

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.5.1
    • Component/s: wicket
    • Labels:
      None

      Description

      Since 1.5 CheckBoxMultipleChoice does not check if it is enabled when rendering the checkboxes. It only checks for AbstractChoice#isDisabled which always returns false. So it is not possible to disable this component in a form without overwriting AbstractChoice#isDisabled.

      CheckBoxMultipleChoice#appendOptionHtml should also call isEnabledInHierarchy like it did in 1.4.X

        Activity

        Hide
        aka Andreas Kappler added a comment -

        quickstart

        Show
        aka Andreas Kappler added a comment - quickstart

          People

          • Assignee:
            ivaynberg Igor Vaynberg
            Reporter:
            aka Andreas Kappler
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development