Class OutputMessageRenderer


public class OutputMessageRenderer extends HtmlBasicInputRenderer
OutputMessageRenderer is a class that renderes UIOutput
  • Constructor Details

    • OutputMessageRenderer

      public OutputMessageRenderer()
  • Method Details

    • encodeBegin

      public void encodeBegin(FacesContext context, UIComponent component) throws IOException
      Description copied from class: Renderer

      Render the beginning specified UIComponent to the output stream or writer associated with the response we are creating. If the conversion attempted in a previous call to getConvertedValue() for this component failed, the state information saved during execution of decode() should be used to reproduce the incorrect input.

      Overrides:
      encodeBegin in class Renderer
      Parameters:
      context - FacesContext for the request we are processing
      component - UIComponent to be rendered
      Throws:
      IOException - if an input/output error occurs while rendering
    • encodeEnd

      public void encodeEnd(FacesContext context, UIComponent component) throws IOException
      Description copied from class: Renderer

      Render the ending of the current state of the specified UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.

      Overrides:
      encodeEnd in class HtmlBasicRenderer
      Parameters:
      context - FacesContext for the response we are creating
      component - UIComponent to be rendered
      Throws:
      IOException - if an input/output error occurs while rendering