public abstract class AbstractSelect
extends javax.faces.component.UINamingContainer
COMPONENT_FAMILY, COMPONENT_TYPE, SEPARATOR_CHAR_PARAM_NAME| Constructor and Description |
|---|
AbstractSelect() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
renderSelect(javax.faces.component.UINamingContainer namingContainer,
String componentId)
Determines whether the Select...
|
createUniqueId, getFamily, getSeparatorChar, visitTreeaddClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, 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, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpressionpublic boolean renderSelect(javax.faces.component.UINamingContainer namingContainer,
String componentId)
- the rendered attribute is true.
- there is at most a single select item to display which must be displayed as "input"
- or the component is readonly
and the displayReadonlyType equals "input"| readonly | displayReadonlyType | displaySingleItemType | Single item | display |
|---|---|---|---|---|
| T | input | input | T | T |
| T | input | input | F | T |
| T | input | output | T | F |
| T | input | output | F | T |
| T | output | input | T | T |
| T | output | input | F | F |
| T | output | output | T | F |
| T | output | output | F | F |
| F | input | input | T | T |
| F | input | input | F | T |
| F | input | output | T | F |
| F | input | output | F | T |
| F | output | input | T | T |
| F | output | input | F | T |
| F | output | output | T | F |
| F | output | output | F | T |
namingContainer - The naming container of the Select... component.componentId - The ID of the Select... component.IllegalArgumentException - When the supplied componentId is empty.NullPointerException - When either the supplied namingContainer or componentId is null.Copyright © 2008–2018. All rights reserved.