Actuate Information Console custom tags : tabPanel

tabPanel

Defines a tab panel and the pages associated with each tab. The tabPanel tag contains other tags from the actabpanel library that specify different parts of the tab panel.

Library

actabpanel

Tag class

com.actuate.activeportal.tags.tabpanel.TabPanelTag

Attributes

Table 8-27 lists and describes the attributes for tabPanel.

Table 8-27  Attributes for tabPanel 
Specifies any HTML attributes to apply to the page part of the HTML table if style=vertical.
The key of the tab to select if selectedTab is null. If selectedTab and defaultTab are unspecified, the first tab becomes the selected tab.
Specifies whether the server should start writing the server response before processing the entire page.
Specifies the key of the desired tab. This causes highlighting of the selected tab and display of the page associated with the tab.
Specifies the parameter name that URIs use to specify the key of the desired tab.
Specifies any HTML attributes to apply to the tab part of the HTML table if style=vertical.
Specifies any HTML attributes to apply to the nested HTML table containing the tabs.

Used in

<context root>\private\common\errors\error.jsp

<context root>\private\common\sidebar.jsp

<context root>\private\jobs\selectjobscontent.jsp

<context root>\private\newrequest\newrequestpage.jsp

<context root>\private\options\optionspage.jsp

<context root>\private\query\createpage.jsp

<context root>\private\query\runpage.jsp

Example

The following example creates a tab panel with four tabs. The _completed tab is chosen by default and URLs can specify the tab desired by using subpage=<tab key>.

<ui:tabPanel
  selectedTabParameter="subpage" defaultTab="_completed" >
  <ui:tab key="_scheduled">
    <bean:message key="TAB_SCHEDULES"/>
    <ui:content page="scheduledjob.jsp"/>
  </ui:tab>
  <ui:tab key="_pending" >
    <bean:message key="TAB_PENDING"/>
    <ui:content page="pendingjob.jsp"/>
  </ui:tab>
  <ui:tab key="_running" >
    <bean:message key="TAB_RUNNING"/>
    <ui:content page="runningjob.jsp"/>
  </ui:tab>
  <ui:tab key="_completed" >
    <bean:message key="TAB_COMPLETED"/>
    <ui:content page="completedjob.jsp"/>
  </ui:tab>  
</ui:tabPanel>

(c) Copyright Actuate Corporation 2011