Versions Compared

Key

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

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.

 

Examples

 

Details area with three tabs.

 

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