Hi All,
I was wondering if someone could give me a definitive explanation of
what the following means:
<adapter
for="* ISomething *"
...
...means?
Is the following equivalent:
provideAdapter(...,adapts=(None,ISomething,None),...)
?
If it is, then which of the following should I use to register a generic
adapter for any single object to an interface:
provideAdapter(...,adapts=(None,),...)
provideAdapter(...,adapts=None,...)
I'm not having a lot of joy registering generic adapters so I thought
I'd come and check my understanding here ;-)
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com