RE: [Zope] get property of type 'list'
10 Jan
2001
10 Jan
'01
2:57 p.m.
From: Andrei Belitski [mailto:andrei.belitski@student.uni-tuebingen.de]
I add a list property to a DTML document of type 'tokens' (e.g. '[1, 2, 3]') wenn i try to retrieve it with _.getitem i get '[1,' '2,' '3]' instead of '1' '2' '3'
How can I get Zope to interpret my property like a list not a string or whatever else?
Actually it IS treating it as a list: <dtml-var "tokens[0]"> Should return '1' This should list each item: <dtml-in tokens> <dtml-var sequence-item><br> </dtml-in> Regards Max M
9217
Age (days ago)
9217
Last active (days ago)
0 comments
1 participants
participants (1)
-
Max Møller Rasmussen