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

CheckBoxMultipleChoice does not respect isEnabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.5.1
    • wicket
    • 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

      Attachments

        1. checkboxmultiplechoice-disabled.zip
          7 kB
          Andreas Kappler

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: