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

Inline enclosures and isVisibleInHierarchy

    XMLWordPrintableJSON

Details

    Description

      There is a problem with the inline enclosure.
      Components inside the inline enclosure don't respond
      correctly to call "isVisibleInHierarchy()".
      (Returns true even if component is hidden) Attached
      is a patch (against wicket 1.4.20) that fixes this.
      This patch doesn't fix the problem for components inside nested
      inline enclosures. There's a test for this as well, and it fails.
      (TogglePageTests.testTogglingNestedInlineEnclosures1())

      Hopefully this patch might be of help in finding a solution for those as well.

      Attachments

        1. patch.txt
          23 kB
          Joonas Hämäläinen

        Issue Links

          Activity

            People

              Unassigned Unassigned
              joonas_h Joonas Hämäläinen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: