Class HtmlRenderer

    • Constructor Detail

      • HtmlRenderer

        public HtmlRenderer()
    • Method Detail

      • getChildren

        public List<UIComponent> getChildren​(UIComponent component)
        Return the list of children of the specified component.

        This default implementation simply returns component.getChildren(). However this method should always be used in order to allow renderer subclasses to override it and provide filtered or reordered views of the component children to rendering methods defined in their ancestor classes.

        Any method that overrides this to "hide" child components should also override the getChildCount method.

        Returns:
        a list of UIComponent objects.
      • getChildCount

        public int getChildCount​(UIComponent component)
        Return the number of children of the specified component.

        See getChildren(UIComponent) for more information.

      • getActionUrl

        protected String getActionUrl​(FacesContext facesContext)
        Parameters:
        facesContext -
        Returns:
        String A String representing the action URL
      • shouldRenderId

        protected boolean shouldRenderId​(FacesContext context,
                                         UIComponent component)
        Returns true if the component should render an ID. Components that deliver events should always return "true".
      • isCommonPropertiesOptimizationEnabled

        protected boolean isCommonPropertiesOptimizationEnabled​(FacesContext facesContext)
      • isCommonEventsOptimizationEnabled

        protected boolean isCommonEventsOptimizationEnabled​(FacesContext facesContext)