adf
Tag selectOne


Renders a drop-down list within a ToolBar component. The list invokes a method on a server-side Java object when it's value is changed.

For example:
  <a:toolbar id="toolbar1" mapId="map1">
    ...
    <a:selectOne id="zoomByFactor" toolText="Zoom By Factor"
      value="#{mapContext.attributes.myBean.factor}"
      valueChangeListener="#{mapContext.attributes.myBean.doZoomByFactor}"
      onchange="document.forms[0].submit();">
        <f:selectItems id="factors" value="#{mapContext.attributes.myBean.factors}"/>
    </a:selectOne>
  </a:toolbar>


Tag Information
Tag Classcom.esri.adf.web.faces.taglib.SelectOneTag
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.
bindingfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
The ValueExpression linking this component to a property in a backing bean.
renderedfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. The default value for this property is true.
valuefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
The current value of the component.
valueChangeListenerfalsefalsejavax.el.MethodExpression
(signature must match void processValueChange(javax.faces.event.ValueChangeEvent))
MethodBinding representing a value change listener method that will be notified when a new value has been set for the component. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void.
onchangefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
JavaScript code executed when this element loses focus and its value has been modified since gaining focus.
requiredfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Flag indicating that the user is required to provide a submitted value for this input component.
stylefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
CSS style(s) to be applied when the component is rendered.
styleClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Space-separated list of CSS style class(es) to be applied when the component is rendered.
clientPostBackfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Specifies AJAX behaviour of the component. If true, the component uses AJAX to communicate with the web server. If false, the component causes a full-page postback instead. Default value is true.
toolTextfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The text label displayed by the component.
disabledfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Specifies whether the component should be disabled.
showLoadingImagefalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Specifies whether the map should display an image to indicate that processing is occuring on the web server.

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.