WAP Tags
Tag selectOne


Renders a option list. Renders select tag with one option element. Render the clientId of the component as the value of the "name" attribute. Render "false" as the value of the "multiple" attribute.


Tag Information
Tag Classorg.apache.myfaces.wap.taglib.SelectOneTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
namefalsefalsejava.lang.StringThe name of the variable that is set with the result of the selection. May also by use to set default value(if any option value matches the value of this variable). If is any option select, don't enforce attribute value to set default value.
tabindexfalsefalsejava.lang.StringSets the tabbing position for the select element.
titlefalsefalsejava.lang.StringSets a title for the select element. Some browsers can ignore it.
xmllangfalsefalsejava.lang.StringThe xml:lang attribute specifies the natural or formal language of an element or its attributes.
styleClassfalsefalsejava.lang.StringSpace-separated list of style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.
idfalsefalsejava.lang.StringThe component identifier for the associated component.
renderedfalsefalsejava.lang.StringFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
bindingfalsefalsejava.lang.StringThe value binding expression linking this component to a property in a backing bean.
converterfalsefalsejava.lang.StringConverter instance registered with this component.
immediatefalsefalsejava.lang.StringFlag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.
valuefalsefalsejava.lang.StringThe current value of this component. Is rendered as attribute "value" in the select element. First option item with matching value is selected.
requiredfalsefalsejava.lang.StringFlag indicating that the user is required to provide a submitted value for this input component.
validatorfalsefalsejava.lang.StringMethodBinding representing a validator method that will be called during Process Validations to perform correctness checks on the value of this component. The expression must evaluate to a public method that takes FacesContext, UIComponent, and Object parameters, with a return type of void.
valueChangeListenerfalsefalsejava.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.

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.