Sakesun Roykiattisak wrote:

Ouch..  Perhaps it use "classImplements" rather than "directlyProvides"
Anybody could give me a pointer to the source code where I can find the answer ?


No, the interface directive uses the directlyProvides mechanism to type the interfaces. (See zope.app.component.interface.provideInterface).This function is called by the directive
handler (See zope.app.component.metaconfigure.interface).

IMO only the therm *provides* is correct in order of the interface introspection:

IContentType.providedBy(IMyContent)

Regards,
Dominik Huber

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to