<sas-f:ListBox>

Generates the appropriate HTML 4.0/XHTML 1.0 INPUT tag attributes to represent a listbox.

Syntax

<sas-f:ListBox
   [accessKey="java.lang.String"]
   [customAttributes="java.lang.String"]
   [descriptionModel="java.lang.String"]
   [enabled="false|true"]
   [epilog="java.lang.String"]
   [id="value"]
   [instantiate="true|false"]
   [locale="java.util.Locale"]
   [model="java.lang.String"]
   [multipleSelections="true|false"]
   [name="java.lang.String"]
   [objectDataProperty="java.lang.String"]
   [onBlur="java.lang.String"]
   [onChange="java.lang.String"]
   [onClick="java.lang.String"]
   [onDblClick="java.lang.String"]
   [onFocus="java.lang.String"]
   [onKeyDown="java.lang.String"]
   [onKeyPress="java.lang.String"]
   [onKeyUp="java.lang.String"]
   [onMouseDown="java.lang.String"]
   [onMouseMove="java.lang.String"]
   [onMouseOut="java.lang.String"]
   [onMouseOver="java.lang.String"]
   [onMouseUp="java.lang.String"]
   [onSelect="java.lang.String"]
   [prolog="java.lang.String"]
   [ref="java.lang.String"]
   [render="true|false"]
   [renderType="java.lang.String"]
   [scope="page|request|session|application"]
   [selectedIndexes="java.lang.String"]
   [selectedItems="java.lang.String"]
   [selectedItemsModel="java.lang.String"]
   [size="int"]
   [styleClassPrefix="java.lang.String"]
   [tabIndex="java.lang.String"]>
      [<sas-f:Item .../>]
      [<sas-f:StyleInfo .../>]
      [<sas-f:RequiredStringValidator/>]
      [<sas-f:SetProperty ...>
         The value to set on the parent tag
      </sas-f:SetProperty>]
      [Additional <sas-f:Item>, <sas-f:SetProperty> tags...]
      [One or more data items on separate lines]
</sas-f:ListBox>

Attributes

accessKeyThe shortcut to apply to the Form control.
customAttributes
descriptionModelAlternate display name for items in the model at run-time.
enabledThe state of the ListBox element; "false" results in a disabled listbox.
epilog
idCase-sensitive name used to identify the object instance.
instantiateFlag that, if true, indicates that a new instance of the underlying class should be loaded if one cannot be found in PageContext. Must be used with an id attribute.
locale
modelThe model of the ListBox.
multipleSelectionsSpecifies whether or not multiple items can be selected in the ListBox.
name
objectDataProperty
onBlurThe onBlur event handler to apply to the Form control.
onChangeThe onChange event handler to apply to the Form control.
onClickThe onClick
onDblClickThe onDblClick
onFocusThe onFocus event handler to apply to the Form control.
onKeyDownThe onKeyDown
onKeyPressThe onKeyPress
onKeyUpThe onKeyUp
onMouseDownThe onMouseDown
onMouseMoveThe onMouseMove value
onMouseOutThe onMouseOut event handler to apply to the Form control.
onMouseOverThe onMouseOver event handler to apply to the Form control.
onMouseUpThe onMouseUp
onSelectThe onSelect
prolog
refThe variable String value that represents an object created earlier in the same scope.
render
renderType
scopeThe scope (or page context) within which the reference is available.
selectedIndexesA space-delimitted string of index numbers for selected items in the ListBox.
selectedItemsA comma-delimitted string of selected items specified in the ListBox.
selectedItemsModelThe model of selected items specified in the ListBox.
sizeThe viewable size of the ListBox at one time.
styleClassPrefixThe styleClassPrefix
tabIndexThe tabindex to apply to the Form control.

More Information

To view the documentation for the related TransformationBean, see com.sas.servlet.tbeans.form.BaseListBox.

If you need to subclass the tag handler class for the sas-f:ListBox tag, extend com.sas.taglib.servlet.tbeans.form.ListBoxTag.