Using Page-Based Static Templates
This static template example combines a universal navigation header with target content. It is based on HTML tables, not frames.
<html>
<head>
</head>
<body>
<table>
<tr><td>
<Pagelet Name="UniversalNavigation">
<SOURCE Node="LOCAL_NODE" href="s/WEBLIB_PORTAL.PORTAL_HEADER.FieldFormula.
IScript_UniHeader" />
</Pagelet>
</td></tr>
<tr><td>
<Target Name="TargetContent"/>
</td></tr>
</table>
</body>
</html>
This template is composed of HTML for three items:
-
The template itself.
Some HTML is required for the overall template. The code for this template is represented in the preceding example by all of the text that is not highlighted. This HTML code remains on the assembled page that is sent to the user’s browser after the page-assembly process.
-
A template tag for the universal navigation header pagelet.
This is the first block of HTML code that is emphasized in the preceding example. At runtime, the portal servlet replaces the Pagelet tag with the navigation header in the template for the final assembled page.
-
A template tag for target content.
At runtime, the portal servlet replaces the Target tag—the second block of emphasized HTML code in the previous example—with whatever content the user requested by clicking a link or button.