Class FormList
Represents a list of forms.
| Property | Description |
|---|---|
selectManyItems: List (read-only) | returns the selected list items if the list is configured to support selection of items. |
selectManyObjects: List (read-only) | Returns a list of all selected objects if the list is configured to support the selection of items. |
selectOneItem: FormListItem (read-only) | Returns the default list item if the list is configured to support the selection of a default item. |
selectOneObject: Object (read-only) | Returns the selected object if the list is configured to support the selection of a default item. |
This class does not have a constructor, so you cannot create it directly.
| Method | Description |
|---|---|
| getSelectManyItems() | returns the selected list items if the list is configured to support selection of items. |
| getSelectManyObjects() | Returns a list of all selected objects if the list is configured to support the selection of items. |
| getSelectOneItem() | Returns the default list item if the list is configured to support the selection of a default item. |
| getSelectOneObject() | Returns the selected object if the list is configured to support the selection of a default item. |
accept, copyFrom, copyTo, getChildCount, getError, getObject, getSubmittedAction, getTriggeredAction
clearFormElement, getDynamicHtmlName, getFormId, getHtmlName, getParent, getValidationResult, invalidateFormElement, invalidateFormElement, isValid
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
- selectManyItems: List
(read-only) returns the selected list items if the list is configured to support selection of items.
- selectManyObjects: List
(read-only) Returns a list of all selected objects if the list is configured to support the selection of items. The objects are the objects that were bound to each row.
- selectOneItem: FormListItem
(read-only) Returns the default list item if the list is configured to support the selection of a default item.
- selectOneObject: Object
(read-only) Returns the selected object if the list is configured to support the selection of a default item. The object is the object bound to the item.
- getSelectManyItems(): List
returns the selected list items if the list is configured to support selection of items.
Returns:
- a List of FormListItem elements or null if no selection was configured for the form.
- getSelectManyObjects(): List
Returns a list of all selected objects if the list is configured to support the selection of items. The objects are the objects that were bound to each row.
Returns:
- a List of objects or null if no selection was configured for the form.
- getSelectOneItem(): FormListItem
Returns the default list item if the list is configured to support the selection of a default item.
Returns:
- the default FormListItem elements or null if no selection was configured
- getSelectOneObject(): Object
Returns the selected object if the list is configured to support the selection of a default item. The object is the object bound to the item.
Returns:
- the selected object.