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.

i think we use the term differently.
of course i want to keep the ability to have
  C inherits from B inherits from A
(inheritance a la java)

what i don't want is
  C inherits from both B and A, where A and B are unrelated.
(inheritance with mixins)

regards,

jörn



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to