Thanks, guys, now I understand. I think I need to dig more on this. At least at the moment, Django's approach seems more flexible to me Ron
> Date: Sun, 28 Nov 2010 21:47:04 -0800 > Subject: Re: How to extend a parent template > From: joshcanfi...@gmail.com > To: users@tapestry.apache.org > > 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: