[Zope3-Users] Generate view for adapted interface

Achim Domma domma at procoders.net
Sun Jun 11 08:20:51 EDT 2006


Hi,

I'm implementing an annotations adapter following the "IRatbble" example 
in Philips book. Now I want to have a "Dublin Core" like edit view in ZMI.

The most simple solution seems to be to register a view for the original 
interface. In this view I would adapt the context object and would then 
use formlib to generate the forms automaticaly.

But I wonder if this could be done in a declarative way in ZCML. 
Something like "register edit view for IInterfaceA, but adapt it to 
IInterfaceB and create view for this interface".

regards,
Achim


More information about the Zope3-users mailing list