[Zope3-Users] Trying to use browser:form -> 404
Florian Lindner
mailinglists at xgm.de
Sat Feb 11 10:15:09 EST 2006
Am Samstag, 11. Februar 2006 11:59 schrieb Garanin Michael:
> > File "/home/florian/Zope3/src/zope/schema/_bootstrapfields.py", line
> > 171, in get
> > return getattr(object, self.__name__)
> > ForbiddenAttribute: ('blablubb', <CS.centershock.centershock.Centershock
> > object at 0xb757a46c>)
>
> That is problem? You object don't have '__name__' attribute.
> See 'buddydemo.Buddy' please.
> There are two variants:
> 1) in MyClass write ' __name__ = __parent__ = None'
> 2) or MyClass must implement ILocation
What is MyClass in this context? The interface, the view class, or the class
that contains it?
Florian
More information about the Zope3-users
mailing list