private static final class SelectItemsIterator.GenericObjectSelectItemIterator.GenericObjectSelectItem extends SelectItem
SelectItem implementation to support generating
unique SelectItem values based on ValueExpressions
from the owning UISelectItems instance.| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
ITEM_DESCRIPTION |
private static java.lang.String |
ITEM_DISABLED |
private static java.lang.String |
ITEM_ESCAPED |
private static java.lang.String |
ITEM_LABEL |
private static java.lang.String |
ITEM_VALUE |
private javax.el.ValueExpression |
itemDescription
Resolves to the description of the
SelectItem. |
private javax.el.ValueExpression |
itemDisabled
Determines the value for the disabled property of the
SelectItem/ |
private javax.el.ValueExpression |
itemEscaped
Determines the value for the escaped property of the
SelectItem. |
private javax.el.ValueExpression |
itemLabel
Resolves to the label of the
SelectItem. |
private javax.el.ValueExpression |
itemValue
Resolves to the value of the
SelectItem. |
private static java.lang.String |
NO_SELECTION_OPTION |
private javax.el.ValueExpression |
noSelectionOption
Determines the value for the noSelectionOption property of the
SelectItem/ |
private UISelectItems |
sourceComponent |
private java.lang.String |
var
The request-scoped variable under which the current object
will be exposed.
|
private static java.lang.String |
VAR |
| Modifier | Constructor and Description |
|---|---|
private |
GenericObjectSelectItem(UISelectItems sourceComponent) |
| Modifier and Type | Method and Description |
|---|---|
private void |
readObject(java.io.ObjectInputStream in) |
private void |
updateItem(FacesContext ctx,
java.lang.Object value)
Updates the
SelectItem properties based on the
current value. |
private void |
writeObject(java.io.ObjectOutputStream out) |
getDescription, getLabel, getValue, isDisabled, isEscape, isNoSelectionOption, setDescription, setDisabled, setEscape, setLabel, setNoSelectionOption, setValueprivate static final java.lang.String VAR
private static final java.lang.String ITEM_VALUE
private static final java.lang.String ITEM_LABEL
private static final java.lang.String ITEM_DESCRIPTION
private static final java.lang.String ITEM_ESCAPED
private static final java.lang.String ITEM_DISABLED
private static final java.lang.String NO_SELECTION_OPTION
private javax.el.ValueExpression itemValue
SelectItem.private javax.el.ValueExpression itemLabel
SelectItem.private javax.el.ValueExpression itemDescription
SelectItem.private javax.el.ValueExpression itemEscaped
SelectItem.private javax.el.ValueExpression itemDisabled
SelectItem/private javax.el.ValueExpression noSelectionOption
SelectItem/private java.lang.String var
private UISelectItems sourceComponent
private GenericObjectSelectItem(UISelectItems sourceComponent)
private void updateItem(FacesContext ctx, java.lang.Object value)
SelectItem properties based on the
current value.ctx - the FacesContext for the current requestvalue - the value to build the updated values fromprivate void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
java.io.IOExceptionprivate void readObject(java.io.ObjectInputStream in)
throws java.io.IOException
java.io.IOException