Description
The tag describes the layout and the components of a tab.
Attributes
Name | Description | Values |
---|---|---|
id | Unique identifier. | Any. |
disable | Makes the tab hidden. | true, false |
preload | Loads the rows of the tab when the page loads. | true, false |
components | The list of tab components. | The list of the component IDs. |
datasortby | Defines the order (ascending or descending) of the rows displayed in the tab, by specifying one or multiple datapaths separated by semicolumn. This definition in the layout xml has priority over the definition in the read function in the functionality xml and over the compareTo implementation of the dto object. |
Examples
<tabs> <tab> <id>tabPaymentMethods</id> <disable>false</disable> <preload>true</preload> <components> <component><id>cmpSelect</id></component> <component><id>cmpPaymentMethodName</id></component> <component><id>cmpPaymentMethodDescription</id></component> <component><id>cmpDefaultPaymentMethod</id></component> </components> </tab> <tab> <id>tabCategories</id> <disable>false</disable> <preload>true</preload> <components> <component><id>cmpSelect</id></component> <component><id>cmpCode</id></component> <component><id>cmpCategoryName</id></component> <component><id>cmpCategoryPath</id></component> </components> </tab> <tab> <id>file:networkmanagement/allowedOrgUnits.xml</id> <disable>false</disable> <preload>false</preload> <components> <component><id>cmpSelect</id></component> <component><id>cmpCommunity</id></component> <component><id>cmpGroup</id></component> <component><id>cmpUnit</id></component> </components> </tab> </tabs>