Class SelectManyMenuRenderer

    • Constructor Detail

      • SelectManyMenuRenderer

        public SelectManyMenuRenderer()
    • 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
      • encodeItem

        protected void encodeItem​(javax.faces.context.FacesContext context,
                                  SelectManyMenu menu,
                                  javax.faces.model.SelectItem option,
                                  Object values,
                                  Object submittedValues,
                                  javax.faces.convert.Converter converter,
                                  boolean customContent,
                                  boolean showCheckbox)
                           throws IOException
        Throws:
        IOException
      • encodeSelectItems

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

        protected void encodeOption​(javax.faces.context.FacesContext context,
                                    SelectManyMenu menu,
                                    javax.faces.model.SelectItem option,
                                    Object values,
                                    Object submittedValues,
                                    javax.faces.convert.Converter converter)
                             throws IOException
        Throws:
        IOException
      • calculateWrapperHeight

        protected String calculateWrapperHeight​(SelectManyMenu menu,
                                                int itemSize)
      • getSubmitParam

        protected String getSubmitParam​(javax.faces.context.FacesContext context,
                                        javax.faces.component.UISelectMany selectMany)
        Specified by:
        getSubmitParam in class SelectManyRenderer
      • 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
      • getRendersChildren

        public boolean getRendersChildren()
        Overrides:
        getRendersChildren in class javax.faces.render.Renderer