Custom content pages in the Enterprise console

You can create or modify the pages contained within the Enterprise console tabs.

Normally, you customize files in your own directory so that they override the existing ones when you repackage the Decision Center EAR, as described in the overview.

Standard content pages

The /custom directory contains the JSP pages that can be redefined when customizing the Enterprise console. The standard pages include:

/custom/analyze.jsp
/custom/configure.jsp
/custom/home.jsp
/custom/project.jsp

For instance, the Analyze page contains:

<teamserver:link model="#{LinkBean.checkProject}"/>
<teamserver:link model="#{LinkBean.generateCompletenessReport}"/>
<teamserver:link model="#{LinkBean.generateProjectReport}"/>
<teamserver:link model="#{LinkBean.generateTaskRuleReport}"/>
<teamserver:link model="#{LinkBean.generateTemplate}"/>
<teamserver:link model="#{LinkBean.manageJobs}"/>

You can add, remove or redefine links from these pages. You can also add your own code.

Note:

You normally add your own code in the Home page, by adding custom HTML to display information about your application.

New content pages

You can write your own content pages that are called by the teamserver:page tag in the holder page. For example:

<teamserver:page content="/mypages/mycontentpage.jsp">
</teamserver:page>

The teamserver:page tag in the holder page defines the location of another JSP file, in which you place the actual contents, such as toolbars, links, or an HTML or JSF file.

Within your content page you can add JSP code, including Decision Center or other JSP tags, and any HTML. Note that any non-JSF code, including HTML tags, must be surrounded by <f:verbatim> </f:verbatim> to be correctly interpreted.