[Zope-CMF] IndexableObjectWrapper
yuppie
y.2009 at wcm-solutions.de
Tue Mar 10 11:53:06 EDT 2009
Martin Aspeli wrote:
> yuppie wrote:
>
>> AFAICS wrapping the object before looking up adapters is unnecessary.
>> The catalog should do the lookup directly and the existing features
>> provided by IndexableObjectWrapper should be reimplemented as adapters.
>
> Bear in mind that there is a difference between getting the wrapper
> itself, and getting the value to catalogue for a particular *attribute*
> of the wrapper (e.g. allowedRolesAndUsers).
Why do we need the wrapper? Why can't we look up directly the adapter
for the particular attribute?
Cheers, Yuppie
More information about the Zope-CMF
mailing list