[Zope-dev] Quickie on ZPatterns ... I promise :)
Itamar Shtull-Trauring
itamar@maxnm.com
Thu, 27 Jul 2000 10:54:53 +0300
Bill Anderson wrote:
>
> Let's say I have an object I will store in a rack. Let us say I want this object to be
> cataloged in a ZCatalog. Any caveats I need to know about
> ..such as "Don't do that!" ?
> ?;^)=
You can't have them inherit from CatalogAware, you'll need to use a trigger
that does this for you. I'm uploading a Product that gives this capability
- and unlike CatalogAware, it recatalogs *automatically* whenever the object
changes. No more object_reindex! (I only tested extensively with DataSkins,
though).
http://www.zope.org/Members/itamar/ZPAddons
--
Itamar S.T. itamar@maxnm.com
Fingerprint = D365 7BE8 B81E 2B18 6534 025E D0E7 92DB E441 411C