Class SelectOneButtonRenderer

    • Constructor Detail

      • SelectOneButtonRenderer

        public SelectOneButtonRenderer()
    • Method Detail

      • getConvertedValue

        public Object getConvertedValue​(javax.faces.context.FacesContext context,
                                        javax.faces.component.UIComponent component,
                                        Object submittedValue)
                                 throws javax.faces.convert.ConverterException
        Overrides:
        getConvertedValue in class InputRenderer
        Throws:
        javax.faces.convert.ConverterException
      • 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
      • encodeSelectItems

        protected void encodeSelectItems​(javax.faces.context.FacesContext context,
                                         SelectOneButton button,
                                         List<javax.faces.model.SelectItem> selectItems)
                                  throws IOException
        Throws:
        IOException
      • encodeOption

        protected void encodeOption​(javax.faces.context.FacesContext context,
                                    SelectOneButton button,
                                    javax.faces.model.SelectItem option,
                                    String id,
                                    String name,
                                    javax.faces.convert.Converter converter,
                                    boolean selected,
                                    boolean disabled,
                                    int idx,
                                    int size)
                             throws IOException
        Throws:
        IOException
      • getSubmitParam

        protected String getSubmitParam​(javax.faces.context.FacesContext context,
                                        javax.faces.component.UISelectOne selectOne)
        Specified by:
        getSubmitParam in class SelectOneRenderer