Jim Fulton wrote:
<adapter
for=".myclasses.MyClass"
provides=".interfaces.ISomething"
factory=".adapters.MyAdapter"
/>
I think it is a fine idea. That's why it has been supported for
a long time. You can register adapters and views (which, of course
are adapters) for classes as well as interfaces.
Yay! *sound of a million marker interfaces dying*
Hmm, is this documented anywhere?
Philipp, is this in the new edition of your book?
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
_______________________________________________
Zope3-dev mailing list
[email protected]
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com