Suppose you have a product (a ZClass) that base class'es a ZCatalog, then only the instance of that will be like a ZCatalog, not its children. My product SiteTrackerProduct is a base class of ZCatalogs and inside the product there are subclasses of the product that then in turn also have ZCatalogs as base class but it doesn't create more than one Vocabulary. Do you have a problem? Are you trying to create a Python Product or a ZClass product?
Hi all, I am trying to create a Zope Product... I have a first base Class and other classes. The other classes must be accessible and instanciate only from instances of the first base class. For example, Vocabulary objects can be everywhere in the tree. I would like Vocabulary objects to be created only inside ZCatalogs...
I don't know how to do that...
Thanks,
Frederic Quin
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )