You
can create two kinds of Web page templates: design-time templates and dynamic
templates.
Design-Time page templates have the following characteristics:
- Pages that you create using this type of template are created immediately.
- Changes that you make to this template are immediately reflected in the
pages that are based on the template
- These templates allow you to create both HTML and JSP pages.
You can use nested page templates to create multiple templates with a
consistent look and feel
Dynamic Page templates differ from design-time page templates in
the following ways:
- Dynamic page templates use Struts-Tiles technology to generate pages on
the web server at run-time. (Note that the pages don't actually contain the
template content except in the generated files).
- You cannot create HTML templates using dynamic page templates
- You can insert JSP fragments into your template when you edit the template
in Page Designer. That is, each content area is filled with a JSP fragment
file that gives page specific content to the page. This enables you to easily
keep page content and page layout separate
- You can configure the content areas that are defined by the template when
you edit it in Page Designer. (To do this from within Page Designer, select )
- You can register a page you created from dynamic page templates as another
page template. This enables you to override portions of content areas when
you create a new page from the template. (To do this from within Page Designer,
select