[Zope] list access
Phil Harris
phil.harris@zope.co.uk
Wed, 7 Mar 2001 13:13:57 -0000
<dtml-var "numbers[0]">
----- Original Message -----
From: "Axel Missbach" <Axel.Missbach@t-online.de>
To: <zope@zope.org>
Sent: Wednesday, March 07, 2001 1:03 PM
Subject: [Zope] list access
> Hello,
> please tell me how access an list member in a dtml-Method/ Document.
>
> per Example, having a list numbers[7,11,13,17,19]. How to get the first
> item?
>
> <dtml-var numbers[0]> results in a KeyError! Why?
>
> greetings
> Axel
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> 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 )