[..]

> Hi,
>
> Could someone clarify the following for me:
>
> I would like to create a Product that instantiates itself with a ZCatalog
> and a search interface "built-in". I'd like make all the Product's
> ZClasses update the catalog whenever they are changed.
>
> If I make all the classes catalog-aware and point them to the name of the
> "root" ZCatalog, will they (re)index the root catalog or a catalog local
> to the class itself?

They find the closest item called 'Catalog', which may be the root if there
is no other item "closer".

> If the latter, can I force [it] to do the former?

Fiddle around with what Catalog is the closest.

--
  Andy McKay, Developer.
  ActiveState.


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to