public class UISelectList
extends javax.faces.component.UIInput
implements javax.faces.component.NamingContainer
| Constructor and Description |
|---|
UISelectList()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
broadcast(javax.faces.event.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(javax.faces.context.FacesContext context) |
void |
encodeBegin(javax.faces.context.FacesContext context) |
void |
encodeChildren(javax.faces.context.FacesContext context) |
java.lang.String |
getClientId(javax.faces.context.FacesContext context) |
boolean |
getEscapeItemDescription()
Get the escape item description flag
|
boolean |
getEscapeItemLabel()
Get the escape item label flag
|
java.lang.String |
getFamily() |
boolean |
getRendersChildren() |
int |
getRowIndex() |
boolean |
isActiveSelect()
Get the active selection mode flag
|
boolean |
isMultiSelect()
Get the multi-select rendering flag
|
void |
processDecodes(javax.faces.context.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(javax.faces.event.FacesEvent event)
Override event queueing from child components - wrap and add current row value
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state) |
java.lang.Object |
saveState(javax.faces.context.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, validateValuegetConverter, getLocalValue, setConverteraddFacesListener, 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, setValueBindingpublic java.lang.String getFamily()
getFamily in class javax.faces.component.UIInputUIComponent.getFamily()public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UIInputStateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.UIInputStateHolder.saveState(javax.faces.context.FacesContext)public java.lang.String getClientId(javax.faces.context.FacesContext context)
getClientId in class javax.faces.component.UIComponentBasepublic void processDecodes(javax.faces.context.FacesContext context)
processDecodes in class javax.faces.component.UIInputpublic void queueEvent(javax.faces.event.FacesEvent event)
queueEvent in class javax.faces.component.UIComponentBasepublic void broadcast(javax.faces.event.FacesEvent event)
throws javax.faces.event.AbortProcessingException
broadcast in class javax.faces.component.UIInputjavax.faces.event.AbortProcessingExceptionpublic void decode(javax.faces.context.FacesContext context)
decode in class javax.faces.component.UIInputUIComponentBase.decode(javax.faces.context.FacesContext)public void encodeChildren(javax.faces.context.FacesContext context)
throws java.io.IOException
encodeChildren in class javax.faces.component.UIComponentBasejava.io.IOExceptionUIComponentBase.encodeChildren(javax.faces.context.FacesContext)public boolean getRendersChildren()
getRendersChildren in class javax.faces.component.UIComponentBaseUIComponentBase.getRendersChildren()public void encodeBegin(javax.faces.context.FacesContext context)
throws java.io.IOException
encodeBegin in class javax.faces.component.UIComponentBasejava.io.IOExceptionUIComponentBase.encodeBegin(javax.faces.context.FacesContext)public int getRowIndex()
public void setRowIndex(int rowIndex)
rowIndex - public 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 - 2010 Alfresco Software, Inc. All Rights Reserved.