-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

whit wrote:
> doh...
> 
>> <registerIndexer
>>     for=".interfaces.IMyContent"
>>     provides=".interfaces.ISomeCalledInterface"
>>     factory=".SomeCallabelAdapter"
>>     permission="zope2.Public"
>> />
>>
> 
> could be simpler (no need for factory or permission), just:
> 
> <registerIndexAdapter
>     for=".interfaces.IMyContent"
>     index=".interfaces.ISomeCalledInterface"
> />

or even::

 <adapter
   for=".interfaces.IMyContent"
   provides="Products.CMFCore.CatalogValues"
   name="some name"
   />

and then have the catalog look for all such adapters when indexing content.

Tres.
- --
===================================================================
Tres Seaver          +1 202-558-7113          [EMAIL PROTECTED]
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDExoS+gerLs4ltQ4RArfqAKCodEU6wnCskxYT5aO8uZAxN3zgSQCeM8US
DnMy/B6KL4NqTb9pJnuuGO0=
=aNwX
-----END PGP SIGNATURE-----

_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to