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
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to