[Zope] dtml-in

Max M maxm@mxm.dk
Tue, 07 May 2002 21:28:42 +0200


D. Rick Anderson wrote:

> I'm using <dtml-in "_.range(31)"> to loop. What I can't seem to do is 
> use the sequence-number to compare to anything. Is there a special wat 
> that it needs to be reffered to? This is what I'm doing:
>
> <dtml-if "variable == sequence-number">


You could write:
<dtml-in "_.range(31)" prefix=number>
    <dtml-if "variable == number_item">
</dtml-in>

regards Max M