Re: Feature of Inheritance in Tapestry Template (not only Java)

2007-07-04 Thread Lutz Hühnken
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]>

Feature of Inheritance in Tapestry Template (not only Java)

2007-07-04 Thread Eko S.W.
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 b