Sun GlassFish Enterprise Server v3 Add-On Component Development Guide

org.glassfish.admingui:customtheme Integration Point

Use an org.glassfish.admingui:customtheme integration point to add your own branding to the Administration Console. Specify the attributes and their content as follows. Do not specify a parentId attribute for this integration point.

type

org.glassfish.admingui:customtheme

priority

A numeric value that specifies the relative ordering of the item in comparison to other themes. This value must be between 1 and 100. The theme with the smallest number is used first.

content

The name of the properties file that contains the key/value pairs that will be used to access your theme JAR file. You must specify the following keys:

com.sun.webui.theme.DEFAULT_THEME

Specifies the theme name for the theme that this application may depend on.

com.sun.webui.theme.DEFAULT_THEME_VERSION

Specifies the theme version this application may depend on.

For example, the properties file for the default Administration Console brand contains the following:

com.sun.webui.theme.DEFAULT_THEME=suntheme
com.sun.webui.theme.DEFAULT_THEME_VERSION=4.3

For an example, see Example 3–14.