From: Andrei Belitski [mailto:[EMAIL PROTECTED]]

>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

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to