public class SelectManyCheckboxListRenderer extends MenuRenderer
UISelectMany component as a list of checkboxes.
HtmlBasicRenderer.OptionComponentInfo, HtmlBasicRenderer.Param
Modifier and Type | Field and Description |
---|---|
private static Attribute[] |
ATTRIBUTES |
EMPTY_PARAMS, logger
Constructor and Description |
---|
SelectManyCheckboxListRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
(package private) java.lang.String |
getSelectedTextString() |
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.
|
protected void |
renderBeginText(javax.faces.component.UIComponent component,
int border,
boolean alignVertical,
javax.faces.context.FacesContext context,
boolean outerTable) |
protected void |
renderEndText(javax.faces.component.UIComponent component,
boolean alignVertical,
javax.faces.context.FacesContext context) |
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) |
bestGuess, cloneValue, coerceToModelType, containsaValue, convertSelectManyValue, convertSelectManyValues, convertSelectManyValuesForModel, convertSelectOneValue, createCollection, createCollectionFromHint, decode, encodeBegin, getConvertedValue, getCurrentSelectedValues, getMultipleText, getSubmittedSelectedValues, isHideNoSelection, isSelected, renderOption, renderOptions, renderSelect, writeDefaultSize
getNonOnChangeBehaviors, getNonOnClickSelectBehaviors, getValue, setSubmittedValue
augmentIdReference, convertClientId, decodeBehaviors, encodeRecursive, getBehaviorParameters, getChildren, getCurrentValue, getEndTextToRender, getFacet, getForComponent, getFormattedValue, getFormattedValue, getMessageIter, getParamList, getPassThruBehaviors, getRendersChildren, rendererParamsNotNull, shouldDecode, shouldEncode, shouldEncodeChildren, shouldWriteIdAttribute, writeIdAttributeIfNecessary
private static final Attribute[] ATTRIBUTES
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
encodeEnd
in class MenuRenderer
java.io.IOException
protected boolean isBehaviorSource(javax.faces.context.FacesContext ctx, java.lang.String behaviorSourceId, java.lang.String componentClientId)
isBehaviorSource
in class HtmlBasicRenderer
ctx
- the FacesContext
for the current requestbehaviorSourceId
- the ID of the behavior sourcecomponentClientId
- the client ID of the component being decodedtrue
if the behavior source is for the component
being decoded, otherwise false
HtmlBasicRenderer.isBehaviorSource(FacesContext, String, String)
protected void renderBeginText(javax.faces.component.UIComponent component, int border, boolean alignVertical, javax.faces.context.FacesContext context, boolean outerTable) throws java.io.IOException
java.io.IOException
protected void renderEndText(javax.faces.component.UIComponent component, boolean alignVertical, javax.faces.context.FacesContext context) throws java.io.IOException
java.io.IOException
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
java.io.IOException
java.lang.String getSelectedTextString()
Copyright © 2002-2013 Oracle America, Inc. All Rights Reserved.