You can define your own components, i.e. take the code that is common to several templates and turn it into a tapestry component. You can than compose your templates from your components.
Also, you might want to look at the "Border" component. hth, Lutz On 7/4/07, Eko S.W. <[EMAIL PROTECTED]> wrote:
Hi All, I just use Tapestry feature of inheritance in web pages. For example, I could have a BasePage.java which contain single field, @ApplicationState User _userLogged; So all pages will know who logged to the application I setup all the base page class to be of Abstract type, all field to be private, with public getter/setter. Actual page (that is, page that will have HTML template), of course, will not be abstract. They will have HTML templates. But my question is, how do you achieve the same feature, that is inheritance, in HTML templates? Maybe I am talking about decorating like we have in Sitemesh. How do you do it in Tapestry? (Currently I just paste all the HTML Code to new HTML Templates) * I hope my question is clear Thanks in advance! -- Best wishes, Eko SW http://swdev.blogs.friendster.com/my_blog/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]