Overview of customizing the Enterprise console GUI

The entry point for extending the graphical user interface is the ManagerBean class. The resources that you modify to customize the Enterprise console GUI are located in teamserver.war.

The Enterprise console is based on the Sun JavaServer Faces framework. The entry point for extending the graphical user interface is the class ManagerBean. This class is implemented as a JSF managed bean. As such it can be directly referenced in JSP pages using JSF tags. To use it in one of your own managed beans, retrieve an instance by calling the getInstance() static method.

Working with the Decision Center WAR

The resources that you modify to customize the Enterprise console GUI are located in teamserver.war in the Decision Center EAR.

You use only the following resources when customizing:

/custom/.*

To modify the toolbars and the standard content pages, and to register new tabs

/WEB-INF/extended-faces-config.xml

To add navigation rules

/skins/.*

To modify the theme

/WEB-INF/skin-faces-config.xml

To register custom themes

/WEB-INF/web.xml

To enable anonymous sign-in

When customizing the GUI, create your own web resources directory, for example C:/mydir/mywebresources. You then set up this directory to contain only your pages, and the files from the custom directory that you modify. For example:

/custom/tableToolbar.jsp
/custom/tabs.jsp
/mypages/myholderpage.jsp
/mypages/mycontentpage.jsp
/WEB-INF/extended-faces-config.xml

This way, you can repackage with the following parameters to overwrite the contents of the current EAR and, more importantly, any updates to the EAR:

ant repackage-ear -DsourceEar=<InstallDir>\jrules-teamserver-XXX.ear -DtargetEar=C:\mydir\jrules-teamserver-XXX.ear -DwebResourcesDir=C:\mydir\mywebresources

The Decision Center JSF tags

Decision Center provides a number of JSF tags that you use to customize the Enterprise console GUI.

The following tags and their attributes are available in /WEB-INF/teamserver.tld:

teamserver:treeview

A tree component.

teamserver:link

A link.

teamserver:button

A button in the toolbar.

teamserver:tab

A tab.

teamserver:page

A page.

teamserver:breadcrumb

The breadcrumbs.

teamserver:toolbar

A toolbar.