[Zope-CMF] Re: small proposal, catalog tool

Tres Seaver tseaver at palladion.com
Mon Aug 29 10:22:10 EDT 2005


-----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          tseaver at palladion.com
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-----



More information about the Zope-CMF mailing list