Class HeadRenderer


  • public class HeadRenderer
    extends javax.faces.render.Renderer
    Renders head content based on the following order - First Facet - Theme CSS - FontAwesome - Middle Facet - Registered Resources - Client Validation Scripts - PF Client Side Settings - PF Initialization Scripts - Head Content - Last Facet
    • Constructor Detail

      • HeadRenderer

        public HeadRenderer()
    • Method Detail

      • encodeBegin

        public void encodeBegin​(javax.faces.context.FacesContext context,
                                javax.faces.component.UIComponent component)
                         throws IOException
        Overrides:
        encodeBegin in class javax.faces.render.Renderer
        Throws:
        IOException
      • encodeEnd

        public void encodeEnd​(javax.faces.context.FacesContext context,
                              javax.faces.component.UIComponent component)
                       throws IOException
        Overrides:
        encodeEnd in class javax.faces.render.Renderer
        Throws:
        IOException
      • encodeValidationResources

        protected void encodeValidationResources​(javax.faces.context.FacesContext context,
                                                 boolean beanValidationEnabled)
                                          throws IOException
        Throws:
        IOException
      • encodeInitScripts

        protected void encodeInitScripts​(javax.faces.context.ResponseWriter writer)
                                  throws IOException
        Throws:
        IOException