|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UISelectItems
org.apache.myfaces.custom.selectitems.AbstractUISelectItems
public abstract class AbstractUISelectItems
An extended version of the standard UISelectItems. Populates the SelectItem collection from the given value automatically using the itemLabel and itemValue attributes. By using the component there is no need to manually create a SelectItem collection because component automatically populates SelectItem objects from types like Collection, Map and etc..
Field Summary | |
---|---|
static String |
COMPONENT_TYPE
|
Fields inherited from class javax.faces.component.UISelectItems |
---|
COMPONENT_FAMILY |
Fields inherited from class javax.faces.component.UIComponent |
---|
bindings |
Constructor Summary | |
---|---|
AbstractUISelectItems()
|
Method Summary | |
---|---|
abstract Object |
getItemDescription()
name of the selectitem |
abstract Object |
getItemDisabled()
disabled state of the selectitem |
abstract Object |
getItemLabel()
name of the selectitem |
abstract Object |
getItemLabelEscaped()
indicate if the label should be escaped of the selectitem |
abstract Object |
getItemValue()
value of the selectitem |
Object |
getValue()
|
abstract String |
getVar()
name of the iterator |
abstract boolean |
isUseEntryAsItem()
Only applies when value points to a map. |
Methods inherited from class javax.faces.component.UISelectItems |
---|
getFamily, restoreState, saveState, setRendered, setValue |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendererType, setTransient, setValueBinding |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getContainerClientId, getValueExpression, setValueExpression |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String COMPONENT_TYPE
Constructor Detail |
---|
public AbstractUISelectItems()
Method Detail |
---|
public abstract String getVar()
public abstract Object getItemLabel()
public abstract Object getItemValue()
public abstract Object getItemLabelEscaped()
public abstract Object getItemDescription()
public abstract Object getItemDisabled()
public abstract boolean isUseEntryAsItem()
public Object getValue()
getValue
in class javax.faces.component.UISelectItems
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |