Hi Jachim

[...]
> ForbiddenAttribute: ('street', <simple_abook.entry.ABookEntry 
> instance at 0x3afa828>)
[...]
> 
> class ABookEntryEditView(EditView):
>      __used_for__ = IABookEntry
> 
>      streetAddress_widget = CustomWidgetFactory(ObjectWidget,
> ABookEntry)

Try to use a formlib form with a correct setup.
Or check this part:

>      streetAddress_widget = CustomWidgetFactory(ObjectWidget,
> ABookEntry)

The error above tells you that you try to access the 
street attribute on the ABookEntry instance. But your
interfaces describes that the IStreetAddress implementation which is
stored under the streetAddress provides this attribute.
So I guess there is a problem with the custom widget factory setup.
The rest so far seems Ok to me.

Regards
Roger Ineichen

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to