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

EnclosureContainer should honor relevantChild.determineVisibility

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.16, 1.4.17
    • 1.4.18, 1.5-RC3
    • wicket

    Description

      The EnclosureContainer calls isVisible() on the relevant child Component to determine whether the content should be visible or not.

      However, in the Component API, visibility is not only defined by isVisible(). There are also the methods isVisibilityAllowed() and isRenderAllowed(). The method determineVisibility() is a summary and yields the overall result whether a Component should be visible or not.

      The EnclosureContainer should honor relevantChild.determineVisibility().

      In our project a problem occurs because on the relevantChild, we use setVisibilityAllowed(false) to make it invisible, but the EnclosureContainer, or should I say its other contents, remain visible, which we did not expect.

      Attachments

        Activity

          People

            jdonnerstag Juegen Donnerstag
            sludwig Sven Ludwig
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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