Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.ui.web.component
Class UISelectItem

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UISelectItem
              extended by org.nuxeo.ecm.platform.ui.web.component.UISelectItem
All Implemented Interfaces:
StateHolder
Direct Known Subclasses:
UIDirectorySelectItem

public class UISelectItem
extends UISelectItem

EasySelectItem from http://jsf-comp.sourceforge.net/components/easysi/index.html, adapted to work with single select item.

Author:
Cagatay-Mert, Anahide Tchertchian

Field Summary
static String COMPONENT_TYPE
           
 
Fields inherited from class javax.faces.component.UISelectItem
COMPONENT_FAMILY
 
Constructor Summary
UISelectItem()
           
 
Method Summary
 Object getValue()
           
 String getVar()
           
 void restoreState(FacesContext context, Object state)
           
 Object saveState(FacesContext context)
           
 void setVar(String var)
           
 
Methods inherited from class javax.faces.component.UISelectItem
getFamily, getItemDescription, getItemLabel, getItemValue, isItemDisabled, isItemEscaped, setItemDescription, setItemDisabled, setItemEscaped, setItemLabel, setItemValue, 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
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
Constructor Detail

UISelectItem

public UISelectItem()
Method Detail

getVar

public String getVar()

setVar

public void setVar(String var)

getValue

public Object getValue()
Overrides:
getValue in class UISelectItem

saveState

public Object saveState(FacesContext context)
Specified by:
saveState in interface StateHolder
Overrides:
saveState in class UISelectItem

restoreState

public void restoreState(FacesContext context,
                         Object state)
Specified by:
restoreState in interface StateHolder
Overrides:
restoreState in class UISelectItem

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.