Component that defines dynamic tab items for a TabPage component.
It retrieves tab items from the Items binding, then iterates on each item to render tabs.
The current rendering tab may be accessed as a contextual bean (default '$tab').
Attributes | ||
optional
String
|
CssClass |
The CSS class to apply. Default: 'osuit-TabItem'. |
optional
String
|
IteratorVar |
The name of the iterator contextual bean. This bean is available at render-time only. Default: $tab. |
Named Children Elements | ||
optional
binding.Expression |
IterateOn |
Vector of item objects (any). Allows to render several tabs. |
mandatory
binding.Expression |
ID |
The tab ID. Supported contextual beans: $tab (if expression 'IterateOn' is set). |
mandatory
binding.Expression |
Title |
The tab title. Supported contextual beans: $tab (if expression 'IterateOn' is set). |
optional
binding.Expression |
Icon |
The tab icon. The path returned by this expression is relative to the war root directory (ex: 'resources/images/icon.png'). Supported contextual beans: $tab (if expression 'IterateOn' is set). |
optional
binding.Expression |
Visible |
The tab visibility. Supported contextual beans: $tab (if expression 'IterateOn' is set). |
0 - unbounded
binding.Do[] |
OnPreRender |
Callback that is triggered before rendering the current tab content. Supported contextual beans: $tab (if expression 'IterateOn' is set). |
Direct Children Elements | |
1 - unbounded
html.IView[] |
The tab content. Supported contextual beans: $tab (if expression 'IterateOn' is set). |