public class UISelectList extends UIInput implements NamingContainer
COMPONENT_FAMILY, COMPONENT_TYPE, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID
SEPARATOR_CHAR
Constructor and Description |
---|
UISelectList()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
broadcast(FacesEvent event)
Override event broadcasting to look for event wrappers to set the current row context
correctly for components that have been rendered multiple times in the list.
|
void |
decode(FacesContext context) |
void |
encodeBegin(FacesContext context) |
void |
encodeChildren(FacesContext context) |
String |
getClientId(FacesContext context) |
boolean |
getEscapeItemDescription()
Get the escape item description flag
|
boolean |
getEscapeItemLabel()
Get the escape item label flag
|
String |
getFamily() |
boolean |
getRendersChildren() |
int |
getRowIndex() |
boolean |
isActiveSelect()
Get the active selection mode flag
|
boolean |
isMultiSelect()
Get the multi-select rendering flag
|
void |
processDecodes(FacesContext context)
Override the processing of child component decodes - we set the current row context so any
events queued by child components wrapped in FacesEventWrapper have current row value.
|
void |
queueEvent(FacesEvent event)
Override event queueing from child components - wrap and add current row value
|
void |
restoreState(FacesContext context,
Object state) |
Object |
saveState(FacesContext context) |
void |
setActiveSelect(boolean activeSelect)
Set true for active selection mode, false otherwise
|
void |
setEscapeItemDescription(boolean escapeItemDescription)
Set true to escape the items description, false otherwise
|
void |
setEscapeItemLabel(boolean escapeItemLabel)
Set true to escape the items label, false otherwise
|
void |
setMultiSelect(boolean multiSelect)
Set true for multi-select rendering, false otherwise
|
void |
setRowIndex(int rowIndex)
Set the transient current row index.
|
addValidator, addValueChangeListener, compareValues, getConvertedValue, getSubmittedValue, getValidator, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processUpdates, processValidators, removeValidator, removeValueChangeListener, setImmediate, setLocalValueSet, setRequired, setSubmittedValue, setValid, setValidator, setValue, setValueChangeListener, updateModel, validate, validateValue
getConverter, getLocalValue, setConverter
addFacesListener, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConverter, getLocalValue, setConverter
public String getFamily()
getFamily
in class UIInput
UIComponent.getFamily()
public void restoreState(FacesContext context, Object state)
restoreState
in interface StateHolder
restoreState
in class UIInput
StateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)
public Object saveState(FacesContext context)
saveState
in interface StateHolder
saveState
in class UIInput
StateHolder.saveState(javax.faces.context.FacesContext)
public String getClientId(FacesContext context)
getClientId
in class UIComponentBase
public void processDecodes(FacesContext context)
processDecodes
in class UIInput
public void queueEvent(FacesEvent event)
queueEvent
in class UIComponentBase
public void broadcast(FacesEvent event) throws AbortProcessingException
broadcast
in class UIInput
AbortProcessingException
public void decode(FacesContext context)
decode
in class UIInput
UIComponentBase.decode(javax.faces.context.FacesContext)
public void encodeChildren(FacesContext context) throws IOException
encodeChildren
in class UIComponentBase
IOException
UIComponentBase.encodeChildren(javax.faces.context.FacesContext)
public boolean getRendersChildren()
getRendersChildren
in class UIComponentBase
UIComponentBase.getRendersChildren()
public void encodeBegin(FacesContext context) throws IOException
encodeBegin
in class UIComponentBase
IOException
UIComponentBase.encodeBegin(javax.faces.context.FacesContext)
public int getRowIndex()
public void setRowIndex(int rowIndex)
rowIndex
- intpublic boolean isMultiSelect()
public void setMultiSelect(boolean multiSelect)
multiSelect
- True for multi-selectpublic boolean isActiveSelect()
public void setActiveSelect(boolean activeSelect)
activeSelect
- True for active selectionpublic boolean getEscapeItemLabel()
public void setEscapeItemLabel(boolean escapeItemLabel)
escapeItemLabel
- true to escape the items labelpublic boolean getEscapeItemDescription()
public void setEscapeItemDescription(boolean escapeItemDescription)
escapeItemDescription
- true to escape the items descriptionCopyright © 2005–2017 Alfresco Software. All rights reserved.