Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
9.0.0, 8.9.0
-
None
Description
When the visibility of a component is changed via setVisible(), the Component and especially the MarkupContainer clears a cache flag (RFLAG_VISIBLE_IN_HIERARCHY_SET) on all contained components.
Unlike the flag for isEnabledInHiearchy (RFLAG_ENABLED_IN_HIERARCHY_SET), the flag for visibility seems not to be updated and used in isVisibleInHiearchy.
Resolution: either use the cache or avoid the (expensive) clearance for all children.
Attachments
Issue Links
- is related to
-
WICKET-6863 Method Component.setVisibilityAllowed should call onVisibleStateChanged()
- Resolved