Skip navigation links
JSF Reference Implementation 2.3.5.SP3-redhat-00001
com.sun.faces.renderkit.html_basic

Class SelectManyCheckboxListRenderer

    • Constructor Detail

      • SelectManyCheckboxListRenderer

        public SelectManyCheckboxListRenderer()
    • Method Detail

      • encodeEnd

        public void encodeEnd(javax.faces.context.FacesContext context,
                              javax.faces.component.UIComponent component)
                       throws IOException
        Description copied from class: javax.faces.render.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 MenuRenderer
        Parameters:
        context - FacesContext for the response we are creating
        component - UIComponent to be rendered
        Throws:
        IOException - if an input/output error occurs while rendering
      • isBehaviorSource

        protected boolean isBehaviorSource(javax.faces.context.FacesContext ctx,
                                           String behaviorSourceId,
                                           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 IOException
        Throws:
        IOException
      • renderEndText

        protected void renderEndText(javax.faces.component.UIComponent component,
                                     boolean alignVertical,
                                     javax.faces.context.FacesContext context)
                              throws IOException
        Throws:
        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,
                                    Object currentSelections,
                                    Object[] submittedValues,
                                    boolean alignVertical,
                                    int itemNumber,
                                    HtmlBasicRenderer.OptionComponentInfo optionInfo)
                             throws IOException
        Throws:
        IOException
JSF Reference Implementation 2.3.5.SP3-redhat-00001

Copyright © 2010–2019 JBoss by Red Hat. All rights reserved.