[Zope] Simple ZSQL question -- variable expansion in dtml-if?

J C Lawrence claw@cp.net
Tue, 11 Jan 2000 16:34:21 -0800


On Tue, 11 Jan 2000 18:22:38 -0600 
Jim Sanford <jsanford@atinucleus.com> wrote:

> If X is being returned from an html form it will actually be a
> string. (Putting "X:int" in the parameter line of the ZSQL method
> will not coerce it to an integer.) In that case use "_.int(X)==1"
> etc. or make the varaible name "X:int" in your form.

Ahhhhh!  Light dawns!  

<<testing quickly>>

Yes, this works _and_ makes sense.  Thanks.  

-- 
J C Lawrence                              Internet: claw@kanga.nu
----------(*)                            Internet: coder@kanga.nu
...Honorary Member of Clan McFud -- Teamer's Avenging Monolith...