Page templates

A page template is a template you can use to create a new HTML, XHTML, JSP, or Faces JSP page in Page Designer. Each new page looks like the page template and usually contains a section of the page for adding your own information. Page templates let you maintain a consistent look and feel for your entire Web site.

For example, you can have consistent formatting across pages or use the same graphic on each page. If you make changes to the page template, the pages created from that page template are automatically updated when you save the updated page template. For example, if your company's logo changes, you need only add the new logo to the page template and then save it. All pages created from that page template are automatically updated with the new logo.

You can do the following things with page templates:

Restriction: There are several circumstances that can cause a page template to not be applied to a Web page when using any of the page template wizards:

  • The Web page has a different encoding from that of the selected page template.

  • The selected page template or the Web page is described by XML Style JSP.

  • The Web page already has a page template associated with it.

 

Related tasks

Creating a page template
Laying out a page template with tables
Generating Web pages from page templates
Applying or replacing page templates
Applying a page template to a Web site
Adding content to a page template
Nesting page templates