[Zope-DB] RE: RE: Form evaluation in ZSQL-Method
dieter at handshake.de
Thu Sep 18 15:23:05 EDT 2003
Andreas Tille wrote at 2003-9-18 17:24 +0200:
> Even more stupid is the fact that a selected iditem=0 has no results even if
> it should bring up the whole data set which lets me suspect that something
> is wrong with the <dtml-if> approach even if it sounds very logical to me. :-(
A string "0" can compare in a surprising way with an integer "0".
Note that all values passed via HTTP are strings by default.
You have to use "converters" (see the "ZPublisher" section in
) to convert them to something else.
More information about the Zope-DB