This is the snippet
dtml-in "_.range(1,32,1)">
option value="dtml-sequence-item;"
dtml-let item=sequence-item>
dtml-if begin_day>
dtml-if expr="item ==
REQUEST.begin_day"> selected /dtml-if>
dtml-comment>CONVERTIR A INT/dtml-comment>
/dtml-if>
/dtml-let>
>dtml-sequence-item;/option>
"Manuel Amador (Rudd-O)" wrote:
dtml-if expr="item == REQUEST.begin_day" selected /dtml-if
Try replacing the above with:
dtml-if expr="item == _.int(REQUEST.begin_day)"
...and stop posting HTML to a non-HTML list!
cheers,
Chris
___
Zope
html mail - not everyone can read it.
seb.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Manuel Amador
(Rudd-O)
Sent: 12 October 2000 09:12
To: [EMAIL PROTECTED]
Subject: [Zope] int and string comparisons
This is the snippet
dtml-in "_.range(1