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 Akkerman <wich...@wiggy.net> It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
Zope-CMF maillist - Zope-CMF@lists.zope.org
See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests