[Zope-dev] Adapters in Zope 2

Santi Camps santi at zetadb.com
Mon Feb 9 15:48:29 EST 2004


Hi all,

I know that adaptors are introduced in zope3 but, anybody knows if this
technique can be used in zope2 ?

I've been trying to add some extra functionallity to a Folder object
without inheriting, but I'm not able to make it work.  To maintain the
adapted object publishable I've rewrited __getattr__, but then some
extra problems appears.  

Anybody knows if there is a way to use adapters in zope2 ?  Or, if not,
there is some other way to add functionallity on-the-fly, without
inheriting ?

Thanks in advance

-- 
Santi Camps
http://zetadb.sourceforge.net




More information about the Zope-Dev mailing list