[Zope] how to iterate over the properties/methods in a ZClass

dorian santner dsantner@datasolutions.at
Tue, 07 May 2002 17:49:37 +0200


I have a Product with a ZClass called A 
it holds several B Objects ( in the ZClass definition)

i tried to add a method in the A ZClass definition that iterates over the B Objects :

<dtml-in expr="objectItems('DSFormField')">
 <dtml-var sequence-key>
</dtml-in>

which works well, but returns the objects only in the Folder of my inserted Object, not the Folder of my Classdefinition 

So how can i iterate over the   /Control_Panel/Products/A/A/propertysheets/methods ?

I would like to have a method that lists my DSFormFields that are in the ZClassdefiniton, please help!

Thanx Dorian