Class DisplayConditions.UIComponentHelper

java.lang.Object
io.goobi.viewer.managedbeans.DisplayConditions.UIComponentHelper
Enclosing class:
DisplayConditions

public static class DisplayConditions.UIComponentHelper extends Object
Wrapper for a UIComponent with convenience methods to count contained jsf components with certain attributes.
  • Method Details

    • getChildCount

      public Long getChildCount(String visibilityClass)
      Count all rendered child components of the UIComponent 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.