Martijn Pieters wrote:
On Sat, Jun 14, 2008 at 12:27 AM, Martin Aspeli <[EMAIL PROTECTED]> wrote:
Instead, I'd register a catalog indexer with the
ExtensibleIndexableObjectWrapper - see CatalogTool.py in Plone.
ExtensibleIndexableObjectWrapper is a prime candidate for the
component architecture btw.
+1
I stupidly made a half-hearted attempt at this for 3.0, but it wasn't
terribly useful.
I think you want something whereby:
a) the wrapper it looked up by adapter on the indexed object
b) the default wrapper's __getattr__() method looks up the indexing
attributes by subscription adapter on the indexed context
Martin
--
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers