com.sun.faces.renderkit.html_basic

Class SelectManyCheckboxListRenderer

    • Field Detail

      • ATTRIBUTES

        private static final Attribute[] ATTRIBUTES
    • Constructor Detail

      • SelectManyCheckboxListRenderer

        public SelectManyCheckboxListRenderer()
    • Method Detail

      • encodeEnd

        public void encodeEnd(javax.faces.context.FacesContext context,
                     javax.faces.component.UIComponent component)
                       throws java.io.IOException
        Overrides:
        encodeEnd in class MenuRenderer
        Throws:
        java.io.IOException
      • isBehaviorSource

        protected boolean isBehaviorSource(javax.faces.context.FacesContext ctx,
                               java.lang.String behaviorSourceId,
                               java.lang.String componentClientId)
        We override isBehaviorSource since the ID of the activated check box will have been augmented with the option number.
        Overrides:
        isBehaviorSource in class HtmlBasicRenderer
        Parameters:
        ctx - the FacesContext for the current request
        behaviorSourceId - the ID of the behavior source
        componentClientId - the client ID of the component being decoded
        Returns:
        true if the behavior source is for the component being decoded, otherwise false
        See Also:
        HtmlBasicRenderer.isBehaviorSource(FacesContext, String, String)
      • renderBeginText

        protected void renderBeginText(javax.faces.component.UIComponent component,
                           int border,
                           boolean alignVertical,
                           javax.faces.context.FacesContext context,
                           boolean outerTable)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • renderEndText

        protected void renderEndText(javax.faces.component.UIComponent component,
                         boolean alignVertical,
                         javax.faces.context.FacesContext context)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • renderOption

        protected void renderOption(javax.faces.context.FacesContext context,
                        javax.faces.component.UIComponent component,
                        javax.faces.convert.Converter converter,
                        javax.faces.model.SelectItem curItem,
                        java.lang.Object currentSelections,
                        java.lang.Object[] submittedValues,
                        boolean alignVertical,
                        int itemNumber,
                        HtmlBasicRenderer.OptionComponentInfo optionInfo)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • getSelectedTextString

        java.lang.String getSelectedTextString()

Copyright © 2002-2010 Oracle America, Inc. All Rights Reserved.