Martin Aspeli wrote:

Chris Withers wrote:
Hi All,

I was wondering if someone could give me a definitive explanation of what the following means:

     for="* ISomething *"


Is the following equivalent:


No, but this is:

provideAdapter(...,adapts=(Interface, ISomething, Interface),...)

Actually, ZCML translates a "*" to None. And as of Zope 3.3, adapting None or Interface is equivalent.

-- -- Professional Zope documentation and training
2nd edition of Web Component Development with Zope 3 is now shipping!

Zope3-dev mailing list

Reply via email to