Skip to end of banner
Go to start of banner

Tabs

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Description

The tag describes the layout and the components of a tab.

 

Attributes

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

 

<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>
  • No labels