still trying to get Catalog to work in my python product
Thanks to everone who has given me suggestions on this. I really do appreciate it. After looking over the PTK snapshot, I've tried to duplicate the catlog that is implemented there. I could not find any search utilities built in, so I'm assuming this is still done by adding the ZsearchInterface from the management screen. Is this right, or is there some built-in PTK searching tool? So now I have a "myproductcatalog" class which inherits ZCatalog. All it does is set up the Indexes, and columns In my base class, I initialize the catalog using (PTK code): # Install MyCatalog id = 'SiteIndex' catalog = MyCatalog(id, '') self._setObject(id, catalog) catalog = self.SiteIndex catalog.initialize() My sub-classes are all catalog aware, with reindex-object in all of the editing areas. I don't see my catalog when I go to add a Zsearch interface. Am I supposed to? What else do I need to do to make this work? -ed-
----- Original Message ----- From: "ed colmar" <element@immersivearts.com> To: <zope@zope.org> Sent: Tuesday, May 23, 2000 11:54 AM Subject: [Zope] still trying to get Catalog to work in my python product
After looking over the PTK snapshot, I've tried to duplicate the catlog that is implemented there. I could not find any search utilities built in, so I'm assuming this is still done by adding the ZsearchInterface from the management screen. Is this right, or is there some built-in PTK searching tool?
ZSearchInterface is basically just a quickie tool to generate DTML Methods. You can always make the DTML on your own... it's really not too difficult to do searching of a ZCatalog (there are a couple related howtos on zope.org). Kevin
participants (2)
-
ed colmar -
Kevin Dangoor