org.nuxeo.ecm.platform.ui.web.directory
Class ChainSelectOutputComponent
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
org.nuxeo.ecm.platform.ui.web.directory.ChainSelectOutputComponent
- All Implemented Interfaces:
- StateHolder, ValueHolder
public class ChainSelectOutputComponent
- extends UIOutput
Component to display a chained directory entry.
- Author:
- George Lefter
Methods inherited from class javax.faces.component.UIComponentBase |
broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
COMPONENT_TYPE
public static final String COMPONENT_TYPE
- See Also:
- Constant Field Values
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
- See Also:
- Constant Field Values
ChainSelectOutputComponent
public ChainSelectOutputComponent()
getFamily
public String getFamily()
- Overrides:
getFamily
in class UIOutput
getKeySeparator
public String getKeySeparator()
setDisplayKeySeparator
public void setDisplayKeySeparator(String keySeparator)
getDisplayKeySeparator
public String getDisplayKeySeparator()
setKeySeparator
public void setKeySeparator(String keySeparator)
getQualifiedParentKeys
public boolean getQualifiedParentKeys()
getHandleMultipleValues
public boolean getHandleMultipleValues()
setHandleMultipleValues
public void setHandleMultipleValues(boolean handleMultipleValues)
setQualifiedParentKeys
public void setQualifiedParentKeys(boolean qualifiedParentKeys)
getDisplayIdAndLabel
@Deprecated
public boolean getDisplayIdAndLabel()
- Deprecated. use display=id|label|idAndLabel instead
setDisplayIdAndLabel
public void setDisplayIdAndLabel(boolean displayIdAndLabel)
getLocalize
public boolean getLocalize()
setLocalize
public void setLocalize(boolean localize)
getDisplay
public String getDisplay()
- Hide legacy "displayIdAndLabel" property. Use "display" if set; else if
"displayIdAndLabel" is true, return "idAndLabel", else default to
"label".
- Returns:
- whether to display the id, the label or both
setDisplay
public void setDisplay(String display)
saveState
public Object saveState(FacesContext context)
- Specified by:
saveState
in interface StateHolder
- Overrides:
saveState
in class UIOutput
restoreState
public void restoreState(FacesContext context,
Object state)
- Specified by:
restoreState
in interface StateHolder
- Overrides:
restoreState
in class UIOutput
getDisplayObsoleteEntries
public boolean getDisplayObsoleteEntries()
createSelection
public Selection createSelection(String keyEnum)
- Transform a comma-separated list of keys into a selection. The list can
be separated by the keySeparator string
- Parameters:
keyEnum
- the comma-separated list of keys
- Returns:
getEntrySeparator
public String getEntrySeparator()
setEntrySeparator
public void setEntrySeparator(String entrySeparator)
getCssStyle
public String getCssStyle()
setCssStyle
public void setCssStyle(String cssStyle)
getCssStyleClass
public String getCssStyleClass()
setCssStyleClass
public void setCssStyleClass(String cssStyleClass)
setDisplayObsoleteEntries
public void setDisplayObsoleteEntries(Boolean displayObsoleteEntries)
setDisplayObsoleteEntries
public void setDisplayObsoleteEntries(boolean displayObsoleteEntries)
setQualifiedParentKeys
public void setQualifiedParentKeys(Boolean qualifiedParentKeys)
getDirectoryNameList
public String getDirectoryNameList()
setDirectoryNameList
public void setDirectoryNameList(String directoryNameList)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.