AgileApps Support Wiki Pre Release

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:

<syntaxhighlight lang="html4strict" enclose="div">


 <%@taglib prefix="lj" uri="/LJTagLib"%>
 <lj:include file="${_page}" />  


</syntaxhighlight>

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.