tabs

Description: A tab container element. A set of panels arranged in tabs. Only one visible at one time.

JavaDoc: Click here

Body content: JSP content.

Attributes:

Name Description Data type Required Default value
id The id for this element. String Yes -
activeTab The number of the tab to first appear open. Integer No The first tab, "0"
width The panel width Integer No Auto
height The panel height Integer No Auto
align The panel alignment PanelAlignment No FIT
plain Activates the plain layout. No background. Boolean No False

Examples:

<dif:document>
    <dif:tabs id="tabs">
        <dif:panel id="tab1" title="Tab #1">
            ...
        </dif:panel>
        <dif:panel id="tab2" title="Tab #2">
            ...
        </dif:panel>
        <dif:panel id="tab3" title="Tab #3">
            ...
        </dif:panel>
        <dif:panel id="tab4" title="Tab#4">
            ...
        </dif:panel>
        <dif:panel id="tab5" title="Tab#5">
            ...
        </dif:panel>
    </dif:tabs>
</dif:document>

See also:

Back to tag reference