[Zope3-Users] zope.schema.Object and custom widgets in formlib

Frank Burkhardt fbo2 at gmx.net
Tue May 23 06:33:19 EDT 2006


Hi,

On Mon, May 22, 2006 at 09:59:09AM -0500, Jachin Rupe wrote:

[snip]

> I am getting a "ForbiddenAttribute" error.  I can run the addform with out any errors but if I editform the "street" 
> field is blank (even though I added some text to it when I added it).  Then if I makes some changes to the fields and 
> try to save my changes I get one of these:

[snip]

> 	<content class=".entry.StreetAddress">
> 		<allow interface=".interfaces.IABookEntry" />
> 	</content>

[snip]

I bet '.interfaces.IABookEntry' doesn't cover the 'street' attribut. You should better use
'.interfaces.IStreetAddress' for your Object()-object.

Regards,

Frank


More information about the Zope3-users mailing list