Class SelectManyButtonRenderer
java.lang.Object
javax.faces.render.Renderer
org.primefaces.renderkit.CoreRenderer
org.primefaces.renderkit.InputRenderer
org.primefaces.renderkit.SelectRenderer
org.primefaces.renderkit.SelectManyRenderer
org.primefaces.component.selectmanybutton.SelectManyButtonRenderer
-
Field Summary
Fields inherited from class org.primefaces.renderkit.InputRenderer
ARIA_FILTER
Fields inherited from class javax.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
encodeEnd
(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) protected void
encodeMarkup
(javax.faces.context.FacesContext context, SelectManyButton button) protected void
encodeOption
(javax.faces.context.FacesContext context, javax.faces.component.UIInput component, Object values, Object submittedValues, javax.faces.convert.Converter converter, javax.faces.model.SelectItem option, int idx, int size) protected void
encodeScript
(javax.faces.context.FacesContext context, SelectManyButton button) protected void
encodeSelectItems
(javax.faces.context.FacesContext context, SelectManyButton button, List<javax.faces.model.SelectItem> selectItems) getConvertedValue
(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object submittedValue) protected String
getSubmitParam
(javax.faces.context.FacesContext context, javax.faces.component.UISelectMany selectMany) Methods inherited from class org.primefaces.renderkit.SelectManyRenderer
decode, getSubmittedValues, getValues
Methods inherited from class org.primefaces.renderkit.SelectRenderer
addSelectItem, coerceToModelType, countSelectItems, countSelectItems, createSelectItem, findImplicitConverter, getOptionAsString, getSelectItemComponent, getSelectItems, isHideNoSelection, isSelected, isSelectValueEqual, updateSelectItem, validateSubmittedValues
Methods inherited from class org.primefaces.renderkit.InputRenderer
createStyleClass, createStyleClass, isDisabled, isReadOnly, renderAccessibilityAttributes, renderAccessibilityAttributes, renderAccessibilityAttributesHidden, renderARIACombobox, renderARIAInvalid, renderARIARequired, renderRTLDirection, shouldDecode
Methods inherited from class org.primefaces.renderkit.CoreRenderer
buildAjaxRequest, buildAjaxRequest, buildAjaxRequest, buildDomEvent, buildNonAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, encodeIndexedId, endsWithLenghtUnit, getEventBehaviors, getHighlighter, getIconOnlyButtonText, getResourceRequestPath, getResourceURL, getStyleBuilder, getStyleClassBuilder, getWidgetBuilder, isGrouped, isValueBlank, logDevelopmentWarning, preConfiguredAjaxRequestBuilder, preConfiguredAjaxRequestBuilder, renderAttribute, renderButtonValue, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderHiddenInput, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteId
Methods inherited from class javax.faces.render.Renderer
convertClientId, encodeBegin, encodeChildren, getRendersChildren
-
Constructor Details
-
SelectManyButtonRenderer
public SelectManyButtonRenderer()
-
-
Method Details
-
getConvertedValue
public Object getConvertedValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object submittedValue) throws javax.faces.convert.ConverterException - Overrides:
getConvertedValue
in classInputRenderer
- Throws:
javax.faces.convert.ConverterException
-
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException - Overrides:
encodeEnd
in classjavax.faces.render.Renderer
- Throws:
IOException
-
encodeMarkup
protected void encodeMarkup(javax.faces.context.FacesContext context, SelectManyButton button) throws IOException - Throws:
IOException
-
encodeSelectItems
protected void encodeSelectItems(javax.faces.context.FacesContext context, SelectManyButton button, List<javax.faces.model.SelectItem> selectItems) throws IOException - Throws:
IOException
-
encodeOption
protected void encodeOption(javax.faces.context.FacesContext context, javax.faces.component.UIInput component, Object values, Object submittedValues, javax.faces.convert.Converter converter, javax.faces.model.SelectItem option, int idx, int size) throws IOException - Throws:
IOException
-
encodeScript
protected void encodeScript(javax.faces.context.FacesContext context, SelectManyButton button) throws IOException - Throws:
IOException
-
getSubmitParam
protected String getSubmitParam(javax.faces.context.FacesContext context, javax.faces.component.UISelectMany selectMany) - Specified by:
getSubmitParam
in classSelectManyRenderer
-