This component provides tree items dynamically (from code).
Attributes | ||
optional
String
|
IteratorVar |
The name of the iterator contextual bean. This bean is available at render-time only. Default: $item. |
Named Children Elements | ||
mandatory
binding.Expression |
RootItems |
Expression that returns a vector of tree item objects representing the tree root node(s). |
mandatory
binding.Expression |
Children |
Expression that returns a vector of tree item objects representing children nodes. The parent node object is accessible with the $item contextual bean. The item type must be compatible with the RootItems. |
mandatory
binding.Expression |
Text |
The tree item text. Supported contextual beans: $item. |
optional
binding.Expression |
Tooltip |
The tree item tooltip. Supported contextual beans: $item. |
optional
action.IAction |
OnClick |
Action to trigger when the tree item is clicked. Supported contextual beans: $item. |
mandatory
binding.Expression |
IsNode |
Expression that determines whether a tree item is a node or a leaf. Expected return type: boolean. Supported contextual beans: $item. |
optional
binding.Expression |
Icon |
The tree item icon. The path returned by this expression is relative to the war root directory (ex: 'resources/images/icon.png'). Supported contextual beans: $item. |