[Zope3-Users] Adapter registration problem
    Chris Withers 
    chris at simplistix.co.uk
       
    Tue Dec 18 10:05:20 EST 2007
    
    
  
Hi All,
Why does the following adapter registration not work?
   <adapter
       for=".SomeModule.SomeClass *"
       provides=".interfaces.ISomething"
       factory=".factories.Factory"
       name="something"
       />
>>> from zope.component import getAdapters
>>> from SomeModule import SomeClass
>>> from interfaces import ISomething
>>> getAdapters((SomeClass('test'),object()),ISomething)
[]
Cheers,
Chris
    
    
More information about the Zope3-users
mailing list