Jean-Christophe Kermagoret pisze:
Hi,
How to make a block inherit from another ?
Your question should be posted to [EMAIL PROTECTED] mailing list because it's about _using_ not _developing_ Cocoon. I, also, assume
that you have in mind Cocoon 2.2.
Now to answer your question, it's a matter of setting 'super' block connection
similarly as showed in the tutorial:
http://cocoon.zones.apache.org/daisy/cdocs/g2/g2/g1/1291.html (Connect two
blocks paragraph)
Now it's worth to mention that the inheritance does not work as supposed, yet but there is a patch providing this functionality and I'm
going to review it very soon (I hope, today).
See https://issues.apache.org/jira/browse/COCOON-2038
If you are really eager to develop with blocks' inheritance you have handle
calling super block manually for now.
--
Grzegorz Kossakowski
http://reflectingonthevicissitudes.wordpress.com/