[Zope-dev] CatalogAware
Erik Enge
erik+list@esol.no
04 Jan 2001 16:34:57 +0100
[Michael Bernstein]
| When called, they find the nearest (acquisition-wise) ZCatalog
| (named Catalog by default),
I think you can specify the ZCatalog it should index itself in by
putting the default_catalog attribute in your class.
I think, that this object (in pseudo) would index itself in ZCatalog1
def myClass(CatalogAwareness):
default_catalog = 'ZCatalog1'
def __init__(self):
self.index_object()
If you have the path:
mysite.com/ZCatalog1/ZCatalog2/Folder1/myClassInstance
Yeah?