On Thu, 20 Dec 2012 12:32:51 -0200, ZKN __ <z...@abv.bg> wrote:
Hi,
Hi!
I have a question regarding Layout component: http://tapestry.apache.org/layout-component.html Since pages and components "are more equal than they are different" I was wondering if base pages (located in the base package) can be used as layout components?
Anything in the base package isn't a component, page or mixin by itself. It's just a superclass for a component, page or mixin.
We already have a Layout component and we need to create a base page that will be extended multiple times. That base page uses the Layout component. Now we need pages that inherit from that base page to override just a small part of the base page template.
You don't need page inheritance for that. Just use block parameters in the Layout component and its template. That's what I recommend.
-- Thiago H. de Paula Figueiredo --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org