[Zope3-Users] Using attributes in a nameChooser
Florian Lindner
mailinglists at xgm.de
Fri Aug 5 06:25:42 EDT 2005
Hello,
in a Containers chooseName function I want to use a attribute of the created
object:
def chooseName(self, name, object):
return object.name
File
"/home/florian/Desktop/zope/lib/python/CS/ContentFolder/contentfolder.py",
line 15, in chooseName
return object.name
AttributeError: 'Link' object has no attribute 'name'
Even though apidoc says there is a attribute name.
Or is it impossible to access the attributes at this time of the creation
process?
Thanks,
Florian
More information about the Zope3-users
mailing list