The AbstractListWidget is an abstract widget, and it is a parent widget of the Combo and SelectList widgets.
Refer to the sections on the Combo and the SelectList widgets.
Property | Description |
---|---|
dataNameForList | The dataNameForList property specifies the name of the data, from a WebSphere Multichannel Bank Transformation Toolkit context or a JSON string, that holds the labels and values of the choices that are available for a user to select on the widget. This is an optional property. |
storeURL | The storeURL property specifies the URL of the external source that holds the labels and values of the choices that are available for a user to select on the widget. This is an optional property. |
If the dataNameForList property is used, its value must be either a KeyedCollection or an IndexedCollection. The fields that are contained in the KeyedCollection or the IndexedCollection that is specified is used by the AbstractListWidget widget; the names of the fields are used as the selection values of the AbstractListWidget widget, and the values of the fields are used as the labels that are displayed on the widget.
Note that if values for both the dataNameForList property and the storeURL property have been specified, the value of dataNameForList takes priority over the value of storeURL even if the value of dataNameForList specifies data that does not exist in the context. This means that if values for both the dataNameForList property and the storeURL property have been specified, the value of the storeURL property will not be used.
At run time, the list of choices that are available for a user to select on the AbstractListWidget widget is updated with either AJAX or with the loadStoreFromURL function.
For information on the events, properties, and functions that can be configured for the AbstractListWidget widget by using the ECA editor, refer to the sections on the Combo and the SelectList widgets.