public class UISelectItems extends javax.faces.component.UISelectItems implements ResettableComponent
Adapted to handle ordering and disabling of select items.
Modifier and Type | Class and Description |
---|---|
protected static class |
UISelectItems.PropertyKeys |
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_TYPE |
Constructor and Description |
---|
UISelectItems() |
Modifier and Type | Method and Description |
---|---|
protected javax.faces.model.SelectItem |
createSelectItem() |
String |
getDisplayIdAndLabelSeparator() |
Object |
getItemLabel() |
String |
getItemLabelPrefix() |
String |
getItemLabelPrefixSeparator() |
Map<String,String> |
getItemLabels() |
String |
getItemLabelSuffix() |
String |
getItemLabelSuffixSeparator() |
Object |
getItemValue() |
String |
getOrdering() |
Object |
getValue() |
String |
getVar() |
boolean |
isCaseSensitive() |
boolean |
isdbl10n() |
boolean |
isDisplayIdAndLabel() |
boolean |
isItemDisabled() |
boolean |
isItemEscaped() |
boolean |
isItemRendered() |
boolean |
isLocalize() |
boolean |
isResolveItemLabelTwice() |
void |
resetCachedModel()
Reset the local value set, useful to reset cache on ajax action when using a shuttle widget for instance.
|
protected String |
retrieveItemLabel() |
void |
setCaseSensitive(boolean caseSensitive) |
void |
setdbl10n(boolean dbl10n) |
void |
setDisplayIdAndLabel(boolean displayIdAndLabel) |
void |
setDisplayIdAndLabelSeparator(String idAndLabelSeparator) |
void |
setItemDisabled(boolean itemDisabled) |
void |
setItemEscaped(boolean itemEscaped) |
void |
setItemLabel(Object itemLabel) |
void |
setItemLabelPrefix(String itemLabelPrefix) |
void |
setItemLabelPrefixSeparator(String itemLabelPrefix) |
void |
setItemLabels(Map<String,String> itemLabels) |
void |
setItemLabelSuffix(String itemLabelSuffix) |
void |
setItemLabelSuffixSeparator(String itemLabelSuffix) |
void |
setItemRendered(boolean itemRendered) |
void |
setItemValue(Object itemValue) |
void |
setLocalize(boolean localize) |
void |
setOrdering(String ordering) |
void |
setResolveItemLabelTwice(boolean resolveItemLabelTwice) |
void |
setVar(String var) |
protected String |
translate(javax.faces.context.FacesContext context,
Locale locale,
String label) |
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
public static final String COMPONENT_TYPE
public UISelectItems()
public Object getItemLabel()
public void setItemLabel(Object itemLabel)
public Map<String,String> getItemLabels()
public void setItemLabels(Map<String,String> itemLabels)
public String getItemLabelPrefix()
public void setItemLabelPrefix(String itemLabelPrefix)
public String getItemLabelPrefixSeparator()
public void setItemLabelPrefixSeparator(String itemLabelPrefix)
public String getItemLabelSuffix()
public void setItemLabelSuffix(String itemLabelSuffix)
public String getItemLabelSuffixSeparator()
public void setItemLabelSuffixSeparator(String itemLabelSuffix)
public Object getItemValue()
public void setItemValue(Object itemValue)
public boolean isItemDisabled()
public void setItemDisabled(boolean itemDisabled)
public boolean isResolveItemLabelTwice()
public void setResolveItemLabelTwice(boolean resolveItemLabelTwice)
public boolean isItemRendered()
public void setItemRendered(boolean itemRendered)
public boolean isItemEscaped()
public void setItemEscaped(boolean itemEscaped)
public String getOrdering()
public void setOrdering(String ordering)
public boolean isCaseSensitive()
public void setCaseSensitive(boolean caseSensitive)
public boolean isDisplayIdAndLabel()
public void setDisplayIdAndLabel(boolean displayIdAndLabel)
public String getDisplayIdAndLabelSeparator()
public void setDisplayIdAndLabelSeparator(String idAndLabelSeparator)
public boolean isLocalize()
public void setLocalize(boolean localize)
public boolean isdbl10n()
public void setdbl10n(boolean dbl10n)
protected String translate(javax.faces.context.FacesContext context, Locale locale, String label)
protected String retrieveItemLabel()
protected javax.faces.model.SelectItem createSelectItem()
public void resetCachedModel()
resetCachedModel
in interface ResettableComponent
Copyright © 2018 Nuxeo. All rights reserved.