[hunchentoot-devel] Re: Boolean Form Fields

Edi Weitz edi at agharta.de
Fri Apr 27 23:06:58 UTC 2007


On Sat, 28 Apr 2007 02:01:30 +0300, Volkan YAZICI <yazicivo at ttnet.net.tr> wrote:

> If I'd use 'BOOLEAN, how can I know when the value of a boolean is
> NIL and when a boolean isn't supplied?
>
> Consider (foo :parameter-type :boolean :request-type :get)
> example. Both "foo.html" and "foo.html?foo=" returns NIL for FOO
> variable. IMHO, for the formal case, there should be an exist-p
> switch.

Which browser sends requests that look like "foo.html?foo="?



More information about the Tbnl-devel mailing list