Description
This tag is used to specify tabs on the page.
...
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 |
displaydeleted | Specifies if the deleted rows should be also visible in the tab. By default they are not visible. | true false |
rowvisibilityconditions | The conditions that should be met in order to display a row. | '[[pagefunction, datatype, datapath ]]' operator(==,!=) 'value' |
Examples
A tab with add/remove buttons and a visibility condition.
...
Example
Code Block | ||||
---|---|---|---|---|
| ||||
<tab> <id>standardCosts<<id>tabServices</id> <name>Standard Costs<<name>Services</name> <datasourcesetkey>standardCosts<<datasourcesetkey>services</datasourcesetkey> <visibilityconditions>'[[getValue,java.lang.String,isTraceable]]'!='1'</visibilityconditions> <functioncall> <functions> <function> ... </function> </functions> </functioncall> <tabmenu> <components> <component> <id>add<<id>cmpAdd</id> <name>Add</name> <elements> ... </elements> </component> <component> <id>remove<<id>cmpRemove</id> <name>Remove</name> <elements> ... </elements> </component> </components> </tabmenu> <components> <component> <id>cmpProduct</id> <name>Product</name> <elements> <textbox> <id>txtProduct</id> <component> ... <<datapath>product/code</component>datapath> <component><readonly>true</readonly> ... </component> <component> ...textbox> </elements> </component> <component> ... </component> </components> </tab> |