cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <gkossakow...@apache.org>
Subject Re: Block inheritance
Date Mon, 09 Jul 2007 08:40:54 GMT
Jean-Christophe Kermagoret pisze:
> Hi,
> How to make a block inherit from another ?

Your question should be posted to users@cocoon.apache.org 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/

Mime
View raw message