On Saturday 07 January 2006 13:46, Alec Munro wrote:
> I would like a straightforward way to lookup the schema and create the
> Add Form without having to instantiate the ProductOrder.
> Alternatively, if anyone can suggest any modifications to my overall
> system that will allow me the same functionality, that would be great.

implementedBy(SomeClass) returns all implemented interfaces. You can even 
determine the content type using this API call, if you have the instance:

from zope.app.content import queryContentType

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

Reply via email to