[Zope3-Users] Lookup AddForms

Marc Rijken marc at rijken.org
Sun Feb 12 18:01:27 EST 2006


Hi Florian,

I tried that. It works for the interface the addForm is registered for 
("for" in the zcml addform directive), but it won't work for the schema 
("schema" in the zcml addform derictive.

Marc

Florian Lindner schreef:
> Am Sonntag, 12. Februar 2006 21:54 schrieb Marc Rijken:
>> Hi All,
>>
>> 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.
> 
> Regards,
> 
> Florian


More information about the Zope3-users mailing list