Editing templates for Web projects
You can see all of the templates,
those supplied by HATS and any that you have created, by expanding
the Templates folder under Web Content in the HATS Projects view. To edit a template using the Rich Page Editor that
is built into Rational® SDP, double-click on the name of the template.
To see other available editors, right-click on the name of the template
and select Open With. See Rational® SDP documentation
for the Rich Page Editor by selecting Help
> Help Contents from the menu bar, and search for Rich Page Editor.
The following restrictions apply to editing templates:
- Custom templates must be UTF-8 encoded.
- Do not use any JSP variable, CSS class, HATSForm, or any other object whose name starts with HATS, hats, or Hats. These names are reserved for use by HATS.
- Do not create a form named HATS_form. HATS generates this form while assembling HTML outputs.
- Do not use a form that encloses the HATS:Transform tag. HATS generates a form in the place where the HATS:Transform tag is. HTML does not allow nested forms.
The following sections describe each tab of the Rich Page Editor.