Class CascadeSelectRenderer
- java.lang.Object
-
- javax.faces.render.Renderer
-
- org.primefaces.renderkit.CoreRenderer
-
- org.primefaces.renderkit.InputRenderer
-
- org.primefaces.renderkit.SelectRenderer
-
- org.primefaces.renderkit.SelectOneRenderer
-
- org.primefaces.component.cascadeselect.CascadeSelectRenderer
-
public class CascadeSelectRenderer extends SelectOneRenderer
-
-
Field Summary
-
Fields inherited from class org.primefaces.renderkit.InputRenderer
ARIA_FILTER
-
-
Constructor Summary
Constructors Constructor Description CascadeSelectRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encodeChildren(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
void
encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
protected void
encodeInput(javax.faces.context.FacesContext context, CascadeSelect cascadeSelect, String valueToRender)
protected void
encodeLabel(javax.faces.context.FacesContext context, CascadeSelect cascadeSelect, List<javax.faces.model.SelectItem> itemList, String valueToRender)
protected void
encodeList(javax.faces.context.FacesContext context, CascadeSelect cascadeSelect, javax.faces.model.SelectItem[] items, boolean isSublist)
protected void
encodeListItems(javax.faces.context.FacesContext context, CascadeSelect cascadeSelect, javax.faces.model.SelectItem[] selectItems)
protected void
encodeMarkup(javax.faces.context.FacesContext context, CascadeSelect cascadeSelect)
protected void
encodePanel(javax.faces.context.FacesContext context, CascadeSelect cascadeSelect, List<javax.faces.model.SelectItem> itemList)
protected void
encodeScript(javax.faces.context.FacesContext context, CascadeSelect cascadeSelect)
protected void
encodeTrigger(javax.faces.context.FacesContext context)
Object
getConvertedValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object submittedValue)
boolean
getRendersChildren()
protected String
getSubmitParam(javax.faces.context.FacesContext context, javax.faces.component.UISelectOne selectOne)
-
Methods inherited from class org.primefaces.renderkit.SelectOneRenderer
decode, findSelectItemByLabel, findSelectItemByValue, getSubmittedValues, getValues
-
Methods inherited from class org.primefaces.renderkit.SelectRenderer
addSelectItem, coerceToModelType, countSelectItems, countSelectItems, createSelectItem, findImplicitConverter, getOptionAsString, getSelectItems, isHideNoSelection, isSelected, isSelectValueEqual, 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, endsWithLenghtUnit, getEventBehaviors, getHighlighter, getResourceRequestPath, getResourceURL, getStyleBuilder, getStyleClassBuilder, getWidgetBuilder, isGrouped, isValueBlank, preConfiguredAjaxRequestBuilder, preConfiguredAjaxRequestBuilder, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderHiddenInput, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteId
-
-
-
-
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 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, CascadeSelect cascadeSelect) throws IOException
- Throws:
IOException
-
encodeInput
protected void encodeInput(javax.faces.context.FacesContext context, CascadeSelect cascadeSelect, String valueToRender) throws IOException
- Throws:
IOException
-
encodeLabel
protected void encodeLabel(javax.faces.context.FacesContext context, CascadeSelect cascadeSelect, List<javax.faces.model.SelectItem> itemList, String valueToRender) throws IOException
- Throws:
IOException
-
encodeTrigger
protected void encodeTrigger(javax.faces.context.FacesContext context) throws IOException
- Throws:
IOException
-
encodePanel
protected void encodePanel(javax.faces.context.FacesContext context, CascadeSelect cascadeSelect, List<javax.faces.model.SelectItem> itemList) throws IOException
- Throws:
IOException
-
encodeList
protected void encodeList(javax.faces.context.FacesContext context, CascadeSelect cascadeSelect, javax.faces.model.SelectItem[] items, boolean isSublist) throws IOException
- Throws:
IOException
-
encodeListItems
protected void encodeListItems(javax.faces.context.FacesContext context, CascadeSelect cascadeSelect, javax.faces.model.SelectItem[] selectItems) throws IOException
- Throws:
IOException
-
encodeScript
protected void encodeScript(javax.faces.context.FacesContext context, CascadeSelect cascadeSelect) throws IOException
- Throws:
IOException
-
encodeChildren
public void encodeChildren(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) throws IOException
- Overrides:
encodeChildren
in classjavax.faces.render.Renderer
- Throws:
IOException
-
getRendersChildren
public boolean getRendersChildren()
- Overrides:
getRendersChildren
in classjavax.faces.render.Renderer
-
getSubmitParam
protected String getSubmitParam(javax.faces.context.FacesContext context, javax.faces.component.UISelectOne selectOne)
- Specified by:
getSubmitParam
in classSelectOneRenderer
-
-