Description
This tag is used to specify tabs on the page.
Attributes
Name | Description | Value |
---|---|---|
id | Unique Identifier | any |
name | A name that describes the tab. It is used as the title of the tab. | any |
reload | Indicates if the tab should be reloaded every time is expanded. | true false |
datasourcesetkey | The name of the set that holds the objects displayed in the tab as it is defined on the datasource object. | property name |
visibilityconditions | The conditions that should be met in order to display the tab. | '[[pagefunction, datatype, datapath ]]' operator(==,!=) 'value' |
tipexpression | The tip message that should displayed near the tab's title. | unique identifier | message |
functioncall | The method that loads the objects displayed in the tab. | a functioncall |
tabmenu | The components that will be displayed in the tab's menu area. | List of components |
components | The components that will be displayed in the tab. | List of components |
Examples
A tab with add/remove buttons and a visibility condition.
Tab
<tab> <id>standardCosts</id> <name>Standard Costs</name> <datasourcesetkey>standardCosts</datasourcesetkey> <visibilityconditions>'[[getValue,java.lang.String,isTraceable]]'!='1'</visibilityconditions> <functioncall> <functions> <function> ... </function> </functions> </functioncall> <tabmenu> <components> <component> <id>add</id> <name>Add</name> <elements> ... </elements> </component> <component> <id>remove</id> <name>Remove</name> <elements> ... </elements> </component> </components> </tabmenu> <components> <component> ... </component> <component> ... </component> <component> ... </component> <component> ... </component> </components> </tab>