[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Zope] how to iterate over the properties/methods in a ZClass
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
_______________________________________________
Zope maillist - Zope@xxxxxxxx
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 )
This mailing list archive is a service of Copilotco.