Wicket
  1. Wicket
  2. WICKET-3416

CheckGroupSelector does not inherit "disabled" property from parent form

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.15
    • Fix Version/s: 1.4.16, 1.5-RC2
    • Component/s: wicket
    • Labels:
    • Environment:
      not relevant

      Description

      component CheckGroupSelector does not inherit "disabled" property from parent component (form or CheckGroup) as it inherits from LabeledWebMarkupContainer. To resolve this issue CheckGroupSelector should inherit from FormComponent<Boolean>

        Activity

        Hide
        Martin Grigorov added a comment -

        Can you give more information please ?
        What exactly do you want to do ?
        org.apache.wicket.Component.isEnabledInHierarchy() should provide the functionality you described.

        Show
        Martin Grigorov added a comment - Can you give more information please ? What exactly do you want to do ? org.apache.wicket.Component.isEnabledInHierarchy() should provide the functionality you described.
        Hide
        Martin Grigorov added a comment -

        Please reopen with more details if isEnabledInHierarchy() doesn't solve your problem.

        Show
        Martin Grigorov added a comment - Please reopen with more details if isEnabledInHierarchy() doesn't solve your problem.
        Hide
        Roman Gubarev added a comment - - edited

        I have a formular with an CheckGroupSelector in it. If I set the form disabled, all Components inside are automatically disabled, but the CheckGroupSelector not.

        I want to set the CheckGroupSelector disabled, not to read it's status.

        Show
        Roman Gubarev added a comment - - edited I have a formular with an CheckGroupSelector in it. If I set the form disabled, all Components inside are automatically disabled, but the CheckGroupSelector not. I want to set the CheckGroupSelector disabled, not to read it's status.
        Hide
        Hudson added a comment -

        Integrated in Apache Wicket 1.4.x #446 (See https://hudson.apache.org/hudson/job/Apache%20Wicket%201.4.x/446/)

        Show
        Hudson added a comment - Integrated in Apache Wicket 1.4.x #446 (See https://hudson.apache.org/hudson/job/Apache%20Wicket%201.4.x/446/ )

          People

          • Assignee:
            Igor Vaynberg
            Reporter:
            Roman Gubarev
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1h
              1h
              Remaining:
              Remaining Estimate - 1h
              1h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development