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:
- javax.faces.component.StateHolder, javax.faces.component.ValueHolder
public class ChainSelectOutputComponent
- extends javax.faces.component.UIOutput
Component to display a chained directory entry.
- Author:
- George Lefter
Methods inherited from class javax.faces.component.UIOutput |
getConverter, getLocalValue, getValue, setConverter, setValue |
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 |
Methods inherited from class javax.faces.component.UIComponent |
encodeAll, getContainerClientId, getValueExpression, setValueExpression |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPONENT_TYPE
public static final java.lang.String COMPONENT_TYPE
- See Also:
- Constant Field Values
COMPONENT_FAMILY
public static final java.lang.String COMPONENT_FAMILY
- See Also:
- Constant Field Values
ChainSelectOutputComponent
public ChainSelectOutputComponent()
getFamily
public java.lang.String getFamily()
- Overrides:
getFamily
in class javax.faces.component.UIOutput
getKeySeparator
public java.lang.String getKeySeparator()
setDisplayKeySeparator
public void setDisplayKeySeparator(java.lang.String keySeparator)
getDisplayKeySeparator
public java.lang.String getDisplayKeySeparator()
setKeySeparator
public void setKeySeparator(java.lang.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 java.lang.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(java.lang.String display)
saveState
public java.lang.Object saveState(javax.faces.context.FacesContext context)
- Specified by:
saveState
in interface javax.faces.component.StateHolder
- Overrides:
saveState
in class javax.faces.component.UIOutput
restoreState
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
- Specified by:
restoreState
in interface javax.faces.component.StateHolder
- Overrides:
restoreState
in class javax.faces.component.UIOutput
getDisplayObsoleteEntries
public boolean getDisplayObsoleteEntries()
createSelection
public Selection createSelection(java.lang.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 java.lang.String getEntrySeparator()
setEntrySeparator
public void setEntrySeparator(java.lang.String entrySeparator)
getCssStyle
public java.lang.String getCssStyle()
setCssStyle
public void setCssStyle(java.lang.String cssStyle)
getCssStyleClass
public java.lang.String getCssStyleClass()
setCssStyleClass
public void setCssStyleClass(java.lang.String cssStyleClass)
setDisplayObsoleteEntries
public void setDisplayObsoleteEntries(java.lang.Boolean displayObsoleteEntries)
setDisplayObsoleteEntries
public void setDisplayObsoleteEntries(boolean displayObsoleteEntries)
setQualifiedParentKeys
public void setQualifiedParentKeys(java.lang.Boolean qualifiedParentKeys)
getDirectoryNameList
public java.lang.String getDirectoryNameList()
setDirectoryNameList
public void setDirectoryNameList(java.lang.String directoryNameList)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.