JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle GlassFish Server 3.1 Add-On Component Development Guide
search filter icon
search icon

Document Information

Preface

1.   Introduction to the Development Environment for GlassFish Server Add-On Components

2.  Writing HK2 Components

3.  Extending the Administration Console

4.  Extending the asadmin Utility

5.  Adding Monitoring Capabilities

6.  Adding Configuration Data for a Component

7.  Adding Container Capabilities

8.  Creating a Session Persistence Module

9.  Packaging, Integrating, and Delivering an Add-On Component

A.  Integration Point Reference

Integration Point Attributes

org.glassfish.admingui:navNode Integration Point

org.glassfish.admingui:rightPanel Integration Point

org.glassfish.admingui:rightPanelTitle Integration Point

org.glassfish.admingui:serverInstTab Integration Point

org.glassfish.admingui:commonTask Integration Point

org.glassfish.admingui:configuration Integration Point

org.glassfish.admingui:resources Integration Point

org.glassfish.admingui:customtheme Integration Point

org.glassfish.admingui:masthead Integration Point

org.glassfish.admingui:loginimage Integration Point

org.glassfish.admingui:loginform Integration Point

org.glassfish.admingui:versioninfo Integration Point

Index

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.

type

org.glassfish.admingui:serverInstTab

parentId

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.

priority

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

content

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">
    <!command
        setSessionAttribute(key="serverInstTabs" value="sampleTab");
        gf.redirect(page="#{request.contextPath}/page/tabPage.jsf?name=Sample%20First%20Tab");
    />
</sun:tab>

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.