The Rich UI listMulti widget defines a list from which
the user can select multiple entries.
The listMulti widget supports these properties:
- values, which holds an array of strings
that each represent a selectable option.
- selection, which holds an array of integers
that represent the position of the strings in the values array.
If you set the value of selection before
you display the list, the specified strings are displayed in boldface.
The
first string in the array is at position 1, not 0.
- size, which holds an integer that indicates
how many strings to display from the values array.
The default is to display all the strings, with no scroll bar:
In Internet Explorer 6, if you do not set the size property,
the widget is displayed as a combination of a text box and list box.
For more information about other supported properties and functions,
see "Widget properties and functions."
If you use this widget, you must use the following statement:
import com.ibm.egl.rui.widgets.ListMulti;