[Zope] Acqusition
Jacob Gorm Hansen
jg@ioi.dk
Tue, 08 Feb 2000 15:08:57 +0100
Hi,
Say I've got two objects:
class MyFolder(OFS.Folder.Folder,ExtensionClass.Base):
def __init__(self,language):
self.id = language
self.language = language
and below that one in the zope hierachy, a:
class MyText(Acquisition.Implicit,
OFS.SimpleItem.Item,
Persistent,
AccessControl.Role.RoleManager):
def foo(self):
return self.language
howcome foo() fails to return the language-value? If I use the property
sheet in zope to add a "language" property, it works fine.
best regards,
Jacob