[Zope3-Users] Re: Get classes implementing Interface

Stephan Richter srichter at cosmos.phy.tufts.edu
Mon Feb 6 06:19:03 EST 2006


On Sunday 08 January 2006 10:01, Florian Lindner wrote:
> I do it this way now:
>
>             utils =  getUtilitiesFor(IFactory)
>             self.objects = {}
>             for i in utils:
>                 if IContainer in i[1].getInterfaces():
>
> the UtilityVocabulary gives the same result as getUtilitiesFor.
> But that does not list all classes, for example there is no class of the
> normal Folder.

This is bad and I think a bug. Could you report it as an issue or even 
investigate it further and make a suggestion?

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-users mailing list