RE: [Zope-dev] automatically doing a Catalog search as part of ob ject traversal...
-----Original Message----- From: Anthony Baxter [mailto:anthony@interlink.com.au] Sent: Tuesday, November 30, 1999 1:19 AM To: zope-dev@zope.org Subject: [Zope-dev] automatically doing a Catalog search as part of object traversal...
Say I have a catalog HelpCatalog, with a bunch of documents that have unique IDs. I want to be able to do something like HelpCatalog/by-id/SomeUniqueID and have it return the document SomeUniqueID.
Do Catalogs support any sort of Direct Traversal like this?
No but it's not a bad idea.
Or am I going to have to do it myself with a mixin class?
You could allways submit a patch. ;) Note that ZTopics, in a way, does this genericly, it executes canned queries based on traversal, it might need to be fondled a bit to get it to do exactly this however. -Michel
participants (1)
-
Michel Pelletier