[Zope] propertyItems and in

Oscar Picasso picasso@videotron.ca
Fri, 12 Nov 1999 20:35:46 -0500


In the ZQR I read:

propertyItems
Returns a list of (id, property) tuples.

So in a DTML Document I tried:
<dtml-in "propertyItems()[6:32]">
  <dtml-var sequence-item>
</dtml-in>

It return the list of the actual properties. I thought that sequence-item
would return somthing like:
(id, value) so I could access the id with sequence-item[0] and the value
with sequence-item[1].
Where am I wrong? I need to render both the property id and the property
value inside the same <dml-in ...> iteration.

Your comments will be greatly appreciated. Monday I have to show a demo of
my little Zope application for a more important project. I'm a little
nervous...

******************************************************
Oscar Picasso
picasso@videotron.ca
******************************************************