Versions Compared

Key

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

Description

This tag is used to define the layout of the details area.

 

Attributes

NameDescriptionValues
viewThe way tabs are presented in the details area. In default view tabs are presented the one next to the other. In list view they are presented the one under the other.default, list
defaulttabidThe default tab that opens when page loads.The tab id.
tabsThe list of tabs the page contains.A list of tabs.

 

Examples

 

Data entry page with details area in list view

 

Code Block
languagexml
titleDetails area in list view
linenumberstrue
<details>
        <view>list</view>
        <defaulttabid>tabCategories</defaulttabid>
        <tabs>
            <tab>
                <id>tabPaymentMethods</id>
                ...
            </tab>

            <tab>
                <id>tabCategories</id>
               ...
            </tab>

            <tab>
                <id>file:networkmanagement/allowedOrgUnits.xml</id>
                ...
            </tab>
        </tabs>
    </details>

 

Data entry page with details area in default view

Code Block
languagexml
titleDetails area in default view
linenumberstrue
<details>
        <view>default</view>
        <defaulttabid>tabCategories</defaulttabid>
        <tabs>
            <tab>
                <id>tabPaymentMethods</id>
                ...
            </tab>

            <tab>
                <id>tabCategories</id>
               ...
            </tab>

            <tab>
                <id>file:networkmanagement/allowedOrgUnits.xml</id>
                ...
            </tab>
        </tabs>
    </details>