On Sunday 12 February 2006 17:02, Florian Lindner wrote:
> > In an application I want to lookup for the addform registered for a
> > schema. I have tried to lookup via the adapter. That failed, because the
> > schema is not used as an interface for an adapter. I do not know where to
> > look now. Can someone help me?
> The addForm is registerad as a view named "+". Use getView to look it up.
That's almost right. The addform creates a multi-adapter/view from (IAdding,
IBrowserRequest) to Interface, and **not** from (IContent, IBrowserRequest).
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
Zope3-users mailing list