Chapter 2. Page and component templates

Table of Contents

Template locations
Template Contents
Components in templates
Component bodies
Component ids
Specifying parameters
Formal and informal parameters
Template directives
Localization
$remove$ jwcid
$content$ jwcid

Unlike many other web frameworks, such as Struts or WebWork, Tapestry does not "plug into" an external templating system such as JavaServer Pages or Velocity. Instead, Tapestry integrates its own templating system.

Tapestry templates are designed to look like valid HTML files (component HTML templates will just be snippets of HTML rather than complete pages). Tapestry "hides" its extensions into special attributes of ordinary HTML elements.

Don't be fooled by the terminology; we say "HTML templates" because that is the prevalent use of Tapestry ... but Tapestry is equally adept at WML or XML.