"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
if you're submitting from a form, you can coerce strings into other data
types by giving the form items special names, e.g.:
input type=text name=foo:int
input type=text name=bar:float
Your REQUEST then has variables called foo and bar which are ints and
floats, respectively.
also, don't post