Package io.goobi.viewer.managedbeans
Class DisplayConditions.UIComponentHelper
java.lang.Object
io.goobi.viewer.managedbeans.DisplayConditions.UIComponentHelper
- Enclosing class:
- DisplayConditions
Wrapper for a
UIComponent
with convenience methods to count contained jsf components with certain attributes.-
Method Summary
Modifier and TypeMethodDescriptiongetChildCount
(String visibilityClass) Count all rendered child components of theUIComponent
wrapped by this instance which have the attribute 'visibilty-class' with the value given by the passed parameter.boolean
isHasChildrenIfComposite
(javax.faces.component.UIComponent child) Deprecated.
-
Method Details
-
getChildCount
Count all rendered child components of theUIComponent
wrapped by this instance which have the attribute 'visibilty-class' with the value given by the passed parameter.- Parameters:
visibilityClass
- Value of the 'visibility-class' attribute of all child components which should be counted- Returns:
- a number >= 0
-
isHasChildrenIfComposite
@Deprecated(since="24.10") public boolean isHasChildrenIfComposite(javax.faces.component.UIComponent child) Deprecated.
-