Oracle GlassFish Server 3.0.1 Add-On Component Development Guide

org.glassfish.admingui:serverInstTab Integration Point

Use an org.glassfish.admingui:serverInstTab integration point to place an additional tab on the GlassFish Server page of the Administration Console. Specify the attributes and their content as follows.




The id value of the tab set that is the parent for this tab. For a top-level tab on this page, this value is serverInstTabs, the tab set that contains the general information property pages for GlassFish Server.

For a sub-tab, the value is the id value for the parent tab.


A numeric value that specifies the relative ordering of the tab on the page, whether at the top level or under another tab.


A relative path to the JavaServer Faces page that contains the content to be integrated.

When you use this integration point, your JavaServer Faces page must call the setSessionAttribute handler for the command event to set the session variable of the serverInstTabs tab set to the id value of your tab. For example, the file may have the following content:

<sun:tab id="sampleTab" immediate="true" text="Sample First Tab">
        setSessionAttribute(key="serverInstTabs" value="sampleTab");

The id of the sun:tab custom tag must be the same as the value argument of the setSessionAttribute handler.

For examples, see Example 3–4 and Example 3–5.