|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
javax.faces.component.UISelectOne
@JSFComponent(defaultRendererType="javax.faces.Menu")
@JSFJspProperty(name="hideNoSelectionOption",
returnType="boolean")
public class UISelectOneComponent for choosing one option out of a set of possibilities.
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 the javadoc for this class in the JSF Specification for further details.
| Field Summary | |
|---|---|
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
|
static java.lang.String |
INVALID_MESSAGE_ID
|
| Fields inherited from class javax.faces.component.UIInput |
|---|
CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY |
| Constructor Summary | |
|---|---|
UISelectOne()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getFamily()
|
protected void |
validateValue(FacesContext context,
java.lang.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. |
| Methods inherited from class javax.faces.component.UIOutput |
|---|
getConverter, getLocalValue, setConverter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.faces.component.ValueHolder |
|---|
getConverter, getLocalValue, setConverter |
| Field Detail |
|---|
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String INVALID_MESSAGE_ID
| Constructor Detail |
|---|
public UISelectOne()
| Method Detail |
|---|
public java.lang.String getFamily()
getFamily in class UIInput
protected void validateValue(FacesContext context,
java.lang.Object value)
validateValue in class UIInputUIInput.validateValue(javax.faces.context.FacesContext,java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||