Re: [Zope] How should a collection be in a Python product if i wantto trave rse it with dtml-in rse it with dtml-in

2000-10-25 Thread Oleg Broytmann
On Wed, 25 Oct 2000, [iso-8859-1] Max Møller Rasmussen wrote: class simple: def __init__(self, value): self.value = value theList = [simple(1), simple(2), simple(3), simple(4)] I would expect to be able to traverse it like below (The objects namespace would be popped onto

Re: [Zope] How should a collection be in a Python product if i wantto trave rse it with dtml-in rse it with dtml-in

2000-10-25 Thread Chris Withers
Oleg Broytmann wrote: On Wed, 25 Oct 2000, [iso-8859-1] Max Møller Rasmussen wrote: class simple: def __init__(self, value): self.value = value theList = [simple(1), simple(2), simple(3), simple(4)] I would expect to be able to traverse it like below (The objects