[Zope-CMF] IndexableObjectWrapper
Wichert Akkerman
wichert at wiggy.net
Mon Mar 9 17:47:16 EDT 2009
Previously Jens Vagelpohl wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> On Mar 9, 2009, at 21:09 , Miles wrote:
>
> > Can anyone tell me if it is possible to register an adapter to
> > provide a
> > different IndexableObjectWrapper class from the stock CMF one?
> > There's
> > some sort of framework code that hints that it ought to enable this,
> > but
> > I can't see how!
> >
> > The code still seems to instantiate the wrapper directly using the
> > class, rather than looking it up via the component architecture.
> >
> > Can anyone explain what's going on? I've drawn a blank from googling
> > for examples.
>
> You already noticed that the wrapper is instantiated directly, so
> that's what's going on. No magic, no component architecture.
>
> Whether that is good or bad or should be changed is a different issue.
Martin Aspeli implemented an adapter based index wrapper for Plone 3.3.
Wichert.
--
Wichert Akkerman <wichert at wiggy.net> It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
More information about the Zope-CMF
mailing list