Re: [Zope] Simple ZSQL question -- variable expansion in dtml-if?
12 Jan
2000
12 Jan
'00
12:34 a.m.
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...
9582
Age (days ago)
9582
Last active (days ago)
0 comments
1 participants
participants (1)
-
J C Lawrence