Actuate Information Console reference : 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 7‑13 lists and describes the attributes for tabPanel.
Table 7‑13 Attributes for tabPanel
Attribute
Required
Description
contentAttribute
No
Specifies any HTML attributes to apply to the page part of the HTML table if style=vertical.
defaultTab
No
The key of the tab to select if selectedTab is null. If selectedTab and defaultTab are unspecified, the first tab becomes the selected tab.
flush
No
Specifies whether the server should start writing the server response before processing the entire page.
selectedTab
No
Specifies the key of the desired tab. This causes highlighting of the selected tab and display of the page associated with the tab.
selectedTabParameter
No
Specifies the parameter name that URIs use to specify the key of the desired tab.
style
No
Specifies whether the tab panel is horizontal or vertical.
tabAttribute
No
Specifies any HTML attributes to apply to the tab part of the HTML table if style=vertical.
tableAttribute
No
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
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>