Tobago Extensions
Tag selectOneChoice


Render a single selection dropdown list with a label.

Extended tag: org.apache.myfaces.tobago.taglib.component.SelectOneChoiceTag

UIComponentClass: org.apache.myfaces.tobago.component.UISelectOne

RendererType: SelectOneChoice

Supported facets:

click
This facet can contain a UICommand that is invoked in case of a click event from the component
change
This facet can contain a UICommand that is invoked in case of a change event from the component


Tag Information
Tag Classorg.apache.myfaces.tobago.taglib.extension.SelectOneChoiceExtensionTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
idfalsetruejava.lang.StringThe component identifier for this component. This value must be unique within the closest parent component that is a naming container.
valuefalsetruejava.lang.StringThe current value of this component.
valueChangeListenerfalsetruejava.lang.StringMethodBinding representing a value change listener method that will be notified when a new value has been set for this input component. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void.
disabledfalsetruejava.lang.StringFlag indicating that this element is disabled.
readonlyfalsetruejava.lang.StringFlag indicating that this component will prohibit changes by the user.
onchangefalsetruejava.lang.StringClientside script function to add to this component's onchange handler.
inlinefalsetruejava.lang.StringFlag indicating this component should rendered as an inline element.
labelfalsetruejava.lang.StringText value to display as label. If text contains an underscore the next character is used as accesskey.
labelWidthfalsetruejava.lang.StringThe width for the label component. Default: 'fixed'. This value is used in the gridLayouts columns attribute. See gridLayout tag for valid values.
requiredfalsetruejava.lang.StringFlag indicating that a value is required. If the value is an empty string a ValidationError occurs and a Error Message is rendered.
renderedfalsetruejava.lang.StringFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
focusfalsetruejava.lang.StringFlag indicating this component should recieve the focus.
bindingfalsetruejava.lang.StringThe value binding expression linking this component to a property in a backing bean.
tipfalsetruejava.lang.StringText value to display as tooltip.
validatorfalsetruejava.lang.StringA method binding EL expression, accepting FacesContext, UIComponent, and Object parameters, and returning void, that validates the component's local value.
converterfalsetruejava.lang.StringAn expression that specifies the Converter for this component. If the value binding expression is a String, the String is used as an ID to look up a Converter. If the value binding expression is a Converter, uses that instance as the converter. The value can either be a static value (ID case only) or an EL expression.
markupfalsetruejava.lang.StringIndicate markup of this component. Possible value is 'none'. But this can be overridden in the theme.
tabIndexfalsetruejava.lang.StringNo Description

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.