Hi Klaus, You can create an instance of your ZClass and do something like: newObj = "code to create an instance of your ZClass.. .depends on context!" sheetList = [ ] for item_pair in newObj.propertysheets.items(): if item_pair[0] != 'webdav': name, ps_value = item_pair pm = ps_value.propertyMap() itemList = [] sheetList[item_pair[0]] = itemList for item in pm: itemList.append( (item['id'], typeTable.get(item['type'],''))) "code to delete the temporary instance you just created.. " return sheetList Klaus Herrmann wrote:
Hi!
I need to be able to list the contents of MyZClass.propertysheets.methods and of all the other common instance sheets, e.g. MyZClass.propertysheets.datasheet01.
objectValues() won't work for methods, so what can i do? and when i try to access the values of datasheet01 [only]?
thanks in advance!
regards, Klaus
-- Klaus Herrmann <klaus.herrmann@goelz.com> Goelz & Schwarz GmbH, Munich www.goelz.com phone:+49 - (0)89 - 544 67 0 22 fax: +49 - (0)89 - 544 67 0 10
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )