The tab tag is used for inserting a Tab component into a TabSet.
The tab tag simply extends ui:hyperlink differing
only in the value rendered by default for the class attriubte
HTML Elements and Layout
The tab tag will render an XHTML anchor tag. Its output is identical to that of
ui:hyperlink except for the value of the class
attribute
Client Side Javascript Functions
none.
Examples
Please see the tabSet tlddoc for an example of
defining tabs via a TabSet component binding
Define three tabs as part of a TabSet
<ui:tabSet id="MyTabs" selected="tab1" >
<ui:tab id="tab1"
text="Tab 1" action="#{TabSetBean.tab1Clicked}" />
<ui:tab id="tab2"
text="Tab 2" action="#{TabSetBean.tab2Clicked}" />
<ui:tab id="tab3"
text="Tab 3" action="#{TabSetBean.tab3Clicked}" />
</ui:tabSet >
Auto-generated component class.
Do NOT modify; all changes
will be lost!
|