Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameDescriptionValues
idUnique identifier.Any.
disableMakes the tab hidden.true, false
preloadLoads the rows of the tab when the page loads.true, false
componentsThe list of tab components.The list of the component IDs.
datasortbyDefines 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

Image Added

 

Code Block
languagexml
linenumberstrue
<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>