http://tapestry.apache.org/tapestry5.1/guide/templates.html

Look at the template inheritance section.

In general you should choose composition over inheritance, but if you want
to have a base class for your pages there is a way to inherit and extend a
templates.

What you might want to investigate is the layout pattern. You create a
component that renders the main layout and then individual pages add the
content. There is an example in the maven archetype.
On 28 Nov 2010 16:09, "Lu Mudong" <mud...@hotmail.com> wrote:

Reply via email to