Wicket
  1. Wicket
  2. WICKET-1843

Disabling RadioGroup via authorization strategy does not disable contained Radio buttons

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.3
    • Fix Version/s: 1.3.5, 1.4-RC1
    • Component/s: wicket
    • Labels:
      None

      Description

      If you apply an authorization strategy to a RadioGroup which denies it ENABLE rights, it's corresponding Radio buttons do not also disable.

      1. Radio.java
        5 kB
        Joel Hill

        Activity

        Hide
        Joel Hill added a comment -

        I believe this simple change to the Radio class would fix this issue, although it hasn't been tested exactly as written. It simply adds a condition to the final IF statement in onComponentTag().

        Show
        Joel Hill added a comment - I believe this simple change to the Radio class would fix this issue, although it hasn't been tested exactly as written. It simply adds a condition to the final IF statement in onComponentTag().

          People

          • Assignee:
            Igor Vaynberg
            Reporter:
            Joel Hill
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development