[Zope] Product and accessing DTMLDocument properties

Andrew Williams ajwms91@hotmail.com
Mon, 26 Feb 2001 11:22:59 -0500


I have a product which I'm trying to develop and I would like to access the 
properties of a DTML Document and in the future other objects such as 
Folders.  I have been able to get the default properties (ID) by looping 
through the tuples returned in obj.propertyItems() or by looping through the 
list returned by obj.propertyIds or even by accessing obj._properties

The above methods work well for the default properties of an Object.  
However, these methods do not return added properties I have made to the 
DTML Document through the Zope management interface.

What methods do I need to use in order to get a list of *all* properties on 
a DTML Document/object?

I have been using DocFinder to display all of the methods available for a 
DTML Document, but haven't found what I need. (BTW, _excellent product!!).

If this is already covered in a HowTo or somewhere else, please let me know 
and I will check it out.


Thanks in advance for any help!

Andrew Williams
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com