[Zope] Existence and truth
Terry Brown
terry_n_brown at yahoo.com
Tue Nov 28 17:53:09 EST 2006
Hmmm, CGI only returns strings. Sometimes x*1 will give a number
(0) even if x is a string ("0")... but I would have said your
example should work...
Cheers -Terry
x
On Tue, 28 Nov 2006, Mark Barratt wrote:
> Paul Winkler wrote:
>>
>> This kind of thing is usually a mistaken type assumption.
>> I bet your radiobutton is setting it to "0" rather than 0.
>>
>
> Thanks. Yes it was. But neither value=0 (which I think is invalid XHTML), nor
> value="" makes any difference.
>
> Mark Barratt
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
More information about the Zope
mailing list