[Zope-CMF] IndexableObjectWrapper

Jens Vagelpohl jens at dataflake.org
Mon Mar 9 17:28:37 EDT 2009


-----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.

jens



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkm1igUACgkQRAx5nvEhZLLXDgCgkfCiB2OLW/G2LxT1JVBOtGJJ
b3gAniLMUd22poUykxudnvXA5ibaK2hO
=GZpO
-----END PGP SIGNATURE-----


More information about the Zope-CMF mailing list