Doug Chestnut wrote:
Andreas Hartmann wrote:
Jörn Nettingsmeier schrieb:
hi everyone!
i just found out about the method
String[] getTemplateIds
in org.apache.lenya.cms.publication.Publication.
does that mean we support or plan to support multiple inheritance?
Actually it should work
(see PublicationTemplateManagerImpl.getPublications(publication)).
But this is of course subject to discussion.
Do you consider this concept valuable or even necessary?
For environments with many publications (university) it is very
valuable as the diagram at the top of this page shows:
http://lenya.apache.org/docs/1_4/reference/publication-templating/index.html
I use the default pub as a template for my own generic pub, then use
my generic pub as a template for my pubs in production. This way I
can utilize new functionality as it develops in the default pub,
override functionality/design for all my pubs, and customize
functionality for specific publications.
I can make due without it (multiple inheritance) but it would be a
bummer.
--Doug
When I hear multiple inheritance, I think of two different root objects,
like what is possible in C++. Inheritance up through a tree is
definitely an important feature to have, but is not what I would
consider multiple inheritance. I too make use of inheritance up through
a tree.
Richard
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]