Home Page Specification

The page specification defines the Tapestry component responsible for the page. In this first example, our component is very simple.

Figure 3.3. Home.jwc

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE specification PUBLIC
  "-//Howard Ship//Tapestry Specification 1.1//EN"
  "http://tapestry.sf.net/dtd/Tapestry_1_1.dtd">

<specification class="com.primix.tapestry.BasePage"/>

This simply says that Home is a kind of page. We use the supplied Tapestry class com.primix.tapestry.BasePage since we aren't adding any behavior to the page.