[Zope] sequence-number math
Tino Wildenhain
tino at wildenhain.de
Tue Oct 14 15:03:49 EDT 2003
Hi Harlow,
hpinson at indepthl.com wrote:
> In DTML, does anyone know how to perform math on a dtml-in sequence-
> number attribute. For example
>
> sequence-number == sequence-number - 1
You dont do that. sequence-number is read only.
_['sequence-number'] if you need it in an expression.
If you have more complicated logic, use a python script.
What, btw. do you want to achieve with the above
expression?
Regards
Tino
More information about the Zope
mailing list