[Zope3-Users] Lookup AddForms

Stephan Richter srichter at cosmos.phy.tufts.edu
Mon Feb 13 08:54:34 EST 2006


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).

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