[Zope] OFS.Folder troubles.
Andreas Kostyrka
andreas@mtg.co.at
Sun, 12 Sep 1999 19:00:14 +0200 (CEST)
Hi!
I've been wondering why this doesn't work:
from OFS.Folder import Folder
...
class FMFolder(Folder):
meta_type='FMFolder'
def __init__(self, id, title):
self.id=id
self.title=title
_properties=Folder._properties+(
{'id':'linkname', 'type': 'string'},
{'id':'beschreibung', 'type': 'text'},
{'id':'langtext', 'type': 'text'},
)
def testing(self):
"ABC"
return str(self.objectValues)
Now, fascinatingly:
I get:
objectValues()==(), even if the Management interface do display files in
the folder.
nor is /some_fmfolder/testing found.
Andreas
--
Andreas Kostyrka | andreas@mtg.co.at
phone: +43/1/7070750 | phone: +43/676/4091256
MTG Handelsges.m.b.H. | fax: +43/1/7065299
Raiffeisenstr. 16/9 | 2320 Zwoelfaxing AUSTRIA