Sun GlassFish Enterprise Server v3 Prelude Add-On Component Development Guide

Base Template

The base template, baseTemplate.tpl, is included by the other templates.

Parent

None.

Parameters

The baseTemplate.tpl file takes the following parameters. You can specify these parameters as attributes to the composition tag for any JSF page that includes baseTemplate.tpl.

i18nBundle

The name of the resource bundle for internationalization. Specify #{i18n} to access the values.

helpBundle

The name of the resource bundle for help. Specify #{help} to access the values.

pageTitle

The name of the page. Will be used in both the head element and as the page header.

helpText

The inline help text to be displayed under the page header.

Defines

You can use define tags with the following name values.

headExtra

Use this value if your page needs to add content to the head element.

titleExtra

Use this value if you need to add any extra child components to the sun:title custom tag.

pageButtonsTop

Use this value if you need to add child components to the pageButtonsTop facet of the sun:title custom tag.

content

This value is required, and describes what the body of the page will be. The body content is usually defined by child templates, but if you use or extend this template directly, you must specify this value.