[Zope] Iterating through object properties

Andreas Jung lists@andreas-jung.com
Mon, 26 Aug 2002 18:28:14 +0200


See "module PropertyManager" of
http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixB.stx

-aj

----- Original Message -----
From: "Kevin Carlson" <khcarlso@bellsouth.net>
To: <zope@zope.org>
Sent: Monday, August 26, 2002 18:27
Subject: [Zope] Iterating through object properties


> Is there a way either in DTML or a python script to iterate through all of
> the properties of an object without knowing its specific type?  For
example,
> if I have CMF Types of Document, File, Event, etc. I want to build a list
of
> all of their properties without knowledge of the particular type.  Ideas?
>
> Thanks,
>
> Kevin
>
>
> _______________________________________________
> 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 )
>