[Zope] simple and quick question

Michael Gutmann gutmann@uni-duesseldorf.de
Thu, 28 Jun 2001 16:24:21 +0200


simple and quick answer, try:

<dtml-in propertyItems>
property=<dtml-var sequence-key>
propertyvalue=<dtml-var sequence-item>
</dtml-in>

<dtml-unless there's no typo in it>it should work</dtml-unless> ;-)

Michael

Peter Bengtsson wrote:

 > How do I loop over an objects properties? I don't know the names of any of
 > the properties.
 >
 > <pseudo>
 > for property, propertyvalue in context.object.itsProperties().items():
 > </pseudo>


-- 
Michael Gutmann M.A.
gutmann@uni-duesseldorf.de
Multimediazentrum Heinrich-Heine-Universitaet Duesseldorf