Site Template

From AgileApps Support Wiki

A Site Template is a JSP page that wraps every other page on the site, so headings and borders can be defined once and applied everywhere.

The Site Template follows this pattern:

<!-- Define HTML headers and borders common to all pages -->

<!-- Open the HTML div, iframe, or frame that holds page content -->

  <!-- Include the content of the page being visited -->
  <%@taglib prefix="lj" uri="/LJTagLib"%>
  <lj:include file="${_page}" />  

<!-- Close the content pane--> 
 
<!-- Define HTML footers common to all pages -->

The include directive causes the content of the page being visited to be included in the template, at the point where the directive is specified.