Class LabelLayoutRendererBase

java.lang.Object
javax.faces.render.Renderer
Direct Known Subclasses:
MessageLayoutRendererBase

public abstract class LabelLayoutRendererBase extends DecodingInputRendererBase
Manages the rendering of the label and the field together with different possibilities for the position of the label (defined by Attributes.labelLayout
  • Constructor Details

    • LabelLayoutRendererBase

      public LabelLayoutRendererBase()
  • Method Details

    • encodeBegin

      public void encodeBegin(javax.faces.context.FacesContext facesContext, 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 facesContext, javax.faces.component.UIComponent component) throws IOException
      Overrides:
      encodeEnd in class javax.faces.render.Renderer
      Throws:
      IOException
    • encodeChildren

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

      protected abstract void encodeBeginMessageField(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) throws IOException
      Throws:
      IOException
    • encodeEndMessageField

      protected abstract void encodeEndMessageField(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) throws IOException
      Throws:
      IOException
    • encodeBeginSurroundingLabel

      protected void encodeBeginSurroundingLabel(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) throws IOException
      Throws:
      IOException
    • encodeEndSurroundingLabel

      protected void encodeEndSurroundingLabel(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) throws IOException
      Throws:
      IOException
    • encodeLabel

      protected void encodeLabel(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, TobagoResponseWriter writer, LabelLayout labelLayout) throws IOException
      Throws:
      IOException
    • getFieldId

      protected abstract String getFieldId(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)