[Zope] <dtml-var sequence-index format ??

Martijn Pieters mj@antraciet.nl
Fri, 17 Sep 1999 14:56:41 +0200


At 13:39 17/09/99 , Geir B Hansen wrote:
>inside a <dtml-in> tag , i have
><dtml-var sequence-index>, showing the number of the item in the
>sequence.
>
>The first item starts with the value 0, whereas i'd like it to start
>with the value 1.
>can i in any way specify this with the "fmt=whatever" property, or do i
>have to make an expression to add 1 to all the sequence-index-numbers ?

You will have to use an expression.

--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-7502100 Fax: +31-35-7502111
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------