Class ButtonRenderer


  • public class ButtonRenderer
    extends HtmlBasicRenderer
    ButtonRenderer is a class that renders the current value of UICommand as a Button.
    • Constructor Detail

      • ButtonRenderer

        public ButtonRenderer()
    • Method Detail

      • 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