DarĂo Vasconcelos wrote:
Thanks for your responses,
I noticed that in Tapestry in Action, Howard uses inheritance very
often, ie the ToDo examples. While it sounds like a desirable
approach, I still can't force my mind to think in terms of page
hierarchies. That's the reason why I asked this question...
Oh no! I assume Howard just used inheritance in those cases to reduce
the code snippets he could put in the book. As a rule of thumb: Never
inherit from a non-abstract class (or an abstract class that will be
enhanced by Tapestry to a complete class). Use aggregation instead.
Robert
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]