Actuate Information Console custom tags : content

content

Specifies the content of a page beneath a tab. Include HTML or JSP code in the body of the content tag or use the page attribute to include another JSP file as the content.

Library

actabpanel

Tag class

com.actuate.activeportal.tags.tabpanel.Content

Attributes

Table 8-9 describes the attribute for content.

Table 8-9  Attribute for content 
Specifies a file containing the JSP code to use as the content of the page associated with the current tab.

If you do not include a page attribute, any HTML or JSP code in the tag’s body becomes the definition of the page.

Used in

<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

Examples

The following example uses the page attribute to specify using the code in saveas.jsp as the Save As tab’s page content.

<ui:tab><bean:message key="TAB_SAVE_AS"/></ui:tab>
<ui:content page="saveas.jsp"/>

The following example uses the tag’s body to specify the About tab’s content page as the result of the JSP include directive.

<ui:tab key="about" unselected="class=\"lnkTab\"">
  <bean:message key="TAB_ABOUT"/>
  <ui:content>
    <%@ include file="about.jsp" %>
  </ui:content>
</ui:tab>

(c) Copyright Actuate Corporation 2011