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.


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


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

See also:

Back to tag reference