I one case, I have a "CollapsablePanel" that contains a RepeatingView. The
idea is that I stick whatever panels I want to be included in the
Collapsable area by adding them to the repeater, if I didn't add any panels
or if the panels aren't visible (maybe access rights prevent the user from
seein
why would a parent be none visible if one of its childs is not visible??isVisibleInHierachy is exactly what it says for one component. It test if that componentwill be visible yes or know. And that depends on itself or his parent visibility or render allowed boolean.
johanOn 10/26/06, ChuckDeal <[E
It goes into an infinite loop because I define the parent component's
isVisble() to be the result of visiting the children and calling their
isVisbleInHierarchy() which will in turn call the parent's isVisble() which
is the result of the childrens's ... and on and on
isVisbleInHierarchy is not a
why comes it in an infinite loop??i think one is protected because that one has an alternative isVisibleInHierarchy()johanOn 10/26/06,
ChuckDeal <[EMAIL PROTECTED]> wrote:I am defining a panel, which is visible only if at least one of its children
is visible. So, it's isVisble() method calls visi
I am defining a panel, which is visible only if at least one of its children
is visible. So, it's isVisble() method calls visitChildren() with a visitor
that returns true as soon as it finds a visible child or null otherwise.
This worked until I started using an AuthorizationStrategy, now I also