Project Documentation
Foundation

Description

A tabbed Panel for switching panels.

Screen Shot

tabbedpane

API

component-family javax.faces.Panel
renderer-type org.apache.myfaces.TabbedPane
component-class org.apache.myfaces.custom.tabbedpane.HtmlPanelTabbedPane
renderer-class org.apache.myfaces.custom.tabbedpane.HtmlTabbedPaneRenderer
tag-class org.apache.myfaces.custom.tabbedpane.HtmlPanelTabbedPaneTag

Usage

<t:panelTabbedPane selectedIndex="int"
                      activeTabStyleClass="CSSClass"
                      inactiveTabStyleClass="CSSClass"
                      disabledTabStyleClass="CSSClass"
                      activeSubStyleClass="CSSClass"
                      inactiveSubStyleClass="CSSClass"
                      tabContentStyleClass="CSSClass">
    <t:panelTab ...>
        ...(anyComponents)...
    </t:panelTab>
</t:panelTabbedPane>
            

Syntax

<t:panelTabbedPane>

selectedIndex - Index of tab that is selected by default.
activeTabStyleClass - Style class of the active tab cell.
inactiveTabStyleClass - Style class of the inactive tab cells.
disabledTabStyleClass - Style class of the disabled tab cells.
activeSubStyleClass - Style class of the active tab sub cell.
inactiveSubStyleClass - Style class of the inactive tab sub cells.
tabContentStyleClass - Style class of the active tab content cell.

Instructions

see examples/tabbedPane.jsp for an example!