public class UISelectOne extends UIInput
This component is expected to have children of type UISelectItem or UISelectItems; these define the set of possible options that the user can choose from.
see Javadoc of JSF Specification
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
static String |
INVALID_MESSAGE_ID |
CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID
Constructor and Description |
---|
UISelectOne() |
Modifier and Type | Method and Description |
---|---|
String |
getFamily() |
protected void |
validateValue(FacesContext context,
Object value)
Verify that the result of converting the newly submitted value is
equal to the value property of one of the child SelectItem
objects.
|
addValidator, addValueChangeListener, broadcast, compareValues, decode, getConvertedValue, getSubmittedValue, getValidator, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, restoreState, saveState, setImmediate, setLocalValueSet, setRequired, setSubmittedValue, setValid, setValidator, setValue, setValueChangeListener, updateModel, validate
getConverter, getLocalValue, getValue, setConverter
addFacesListener, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConverter, getLocalValue, getValue, setConverter
public static final String INVALID_MESSAGE_ID
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
protected void validateValue(FacesContext context, Object value)
validateValue
in class UIInput
UIInput.validateValue(javax.faces.context.FacesContext, java.lang.Object)
Copyright © 2012 Apache Software Foundation. All Rights Reserved.