[Zope] int and string comparisons

Chris Withers chrisw@nipltd.com
Thu, 12 Oct 2000 10:18:57 +0100


"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