Hi Thiago, I've tried moving the base page to the "pages" package but that didn't work again. I'm not sure what you mean with block parameters but if it means using some kind of IF statements in the base template I don't think that's a good solution. First because for each new Subclass I will have to make changes to the base template and second because it will make the base template harder to read. Thanks, Ozkan
-------- Оригинално писмо -------- От: "Thiago H de Paula Figueiredo" thiag...@gmail.com Относно: Re: Layout component До: "Tapestry users" Изпратено на: Четвъртък, 2012, Декември 20 17:49:59 EET 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