AgileApps Support Wiki Pre Release

Site Template

From AgileApps Support Wiki
Revision as of 17:39, 9 September 2010 by imported>Aeric
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.