x:tabLabel

The x:tabLabel tag is used with x:notebook to specify the tab label facet for each tabbed panel in the notebook.


Attributes
Name Required Request-time Type Description
immediate false false java.lang.String If this attribute is true, the JSF event pipeline will skip validation of the page and invoke the event handler. In response, the notebook component will skip to the render response phase with a new tabbed panel selected.
Inherited Attributes
Core Attributes inherited from AbstractTag

Example

<x:notebook imageRoot="images">
  <h:panelGroup>
    <f:facet name="label">
      <x:tabLabel>
        <h:outputText value="Name" />
      </x:tabLabel>
    </f:facet>
    ... Name Tab Contents ...
  </h:panelGroup>
  <h:panelGroup>
    <f:facet name="label">
      <x:tabLabel>
        <h:outputText value="Address" />
      </x:tabLabel>
    </f:facet>
    ... Address Tab Contents ...
  </h:panelGroup>
  <h:panelGroup>
    <f:facet name="label">
      <x:tabLabel>
        <h:outputText value="Phone" />
      </x:tabLabel>
    </f:facet>
    ... Phone Tab Contents ...
  </h:panelGroup>
  <h:panelGroup>
    <f:facet name="label">
      <x:tabLabel>
        <h:outputText value="Contacts" />
      </x:tabLabel>
    </f:facet>
    ... Contacts Tab Contents ...
  </h:panelGroup>
</x:notebook imageRoot="images">

The preceeding example produces the following notebook shown with the 'Address' tab selected.

Name Address Phone Contacts
Address
Street 1
Street 2
City State
Suite ZIP