Lily Li wrote:
>
> Hello, everyone,
>
> It seems that many of you have used ZCatalog pretty well.
>
> My problem is that I'd like a ZClass (of a Product) to subclass
> CatalogAware, and implement all the index and search inside the Product.
> That means I don't want to do any DTML method stuff outside of the Product.
What you probably want is to create a repository that
subclasses ZCatalog as is described in this HowTo:
http://www.zope.org/Members/tseaver/inherit_ZCatalog
And then add your CatalogAware ZClasses into it. Then you
can set up your ZCatalog/ObjectManager with search methods.
HTH,
Michael Bernstein.
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )