org.nuxeo.ecm.platform.ui.web.directory
Class ChainSelectListboxComponent
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
org.nuxeo.ecm.platform.ui.web.directory.ChainSelectListboxComponent
- All Implemented Interfaces:
- EditableValueHolder, StateHolder, ValueHolder
public class ChainSelectListboxComponent
- extends UIInput
- Author:
- George Lefter
Methods inherited from class javax.faces.component.UIInput |
addValidator, addValueChangeListener, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate |
Methods inherited from class javax.faces.component.UIComponentBase |
broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, 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
ajaxUpdated
public boolean ajaxUpdated
ChainSelectListboxComponent
public ChainSelectListboxComponent()
getFamily
public String getFamily()
- Overrides:
getFamily
in class UIInput
isMultiSelect
public boolean isMultiSelect()
getDisplayIdAndLabelSeparator
public String getDisplayIdAndLabelSeparator()
setDisplayIdAndLabelSeparator
public void setDisplayIdAndLabelSeparator(String displayIdAndLabelSeparator)
restoreState
public void restoreState(FacesContext context,
Object state)
- Specified by:
restoreState
in interface StateHolder
- Overrides:
restoreState
in class UIInput
saveState
public Object saveState(FacesContext context)
- Specified by:
saveState
in interface StateHolder
- Overrides:
saveState
in class UIInput
getDirectoryName
public String getDirectoryName()
setDirectoryName
public void setDirectoryName(String newDirectory)
getDirectoryValues
public VocabularyEntryList getDirectoryValues()
setDirectoryValues
public void setDirectoryValues(VocabularyEntryList directoryValues)
getOptions
public Map<String,DirectorySelectItem> getOptions()
getDisplayIdAndLabel
public Boolean getDisplayIdAndLabel()
setDisplayIdAndLabel
public void setDisplayIdAndLabel(Boolean displayIdAndLabel)
getDisplayObsoleteEntries
public Boolean getDisplayObsoleteEntries()
setDisplayObsoleteEntries
public void setDisplayObsoleteEntries(Boolean showObsolete)
setOnchange
public void setOnchange(String onchange)
getOnchange
public String getOnchange()
getChain
public ChainSelect getChain()
getProperty
public Object getProperty(String name)
getStringProperty
public String getStringProperty(String name,
String defaultValue)
getBooleanProperty
public Boolean getBooleanProperty(String name,
Boolean defaultValue)
getDisplayValueOnlySeparator
public String getDisplayValueOnlySeparator()
setDisplayValueOnlySeparator
public void setDisplayValueOnlySeparator(String displayValueOnlySeparator)
isAjaxUpdated
public boolean isAjaxUpdated()
setAjaxUpdated
public void setAjaxUpdated(boolean ajaxUpdated)
getIndex
public Integer getIndex()
- Returns:
- position of this component in the parent children list
setIndex
public void setIndex(Integer index)
getCssStyle
public String getCssStyle()
setCssStyle
public void setCssStyle(String cssStyle)
getCssStyleClass
public String getCssStyleClass()
setCssStyleClass
public void setCssStyleClass(String cssStyleClass)
getSize
public String getSize()
setSize
public void setSize(String size)
getLocalize
public Boolean getLocalize()
setLocalize
public void setLocalize(Boolean localize)
rebuildOptions
public LinkedHashMap<String,DirectorySelectItem> rebuildOptions()
- Reload listbox values based on previous selections in the chain.
(functionality moved from ChainSelect)
decode
public void decode(FacesContext context)
- This method reads submitted data and rebuilds the current list of values
based on selections in the parent components.
- Overrides:
decode
in class UIInput
getOrdering
public String getOrdering()
setOrdering
public void setOrdering(String ordering)
getDisplay
public String getDisplay()
setDisplay
public void setDisplay(String display)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.