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.page

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

<page-specification class="org.apache.tapestry.html.BasePage"/>

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