[Bese-devel] checkboxes
Aleksandar Bakic
a_bakic at yahoo.com
Wed Dec 28 16:25:25 UTC 2005
> Actully, it is probably correct: a client may send multiple parameters with
> the
> same name. In src/backend/araneida.lisp, get-param uses assoc and gets the
> first one sent by the client.
It turns out that it is better to put the hidden field first (unless the
checkbox is disabled), which will reset the checkbox first (because its
callback is called first by call-callbacks/map-params). If the hidden param is
followed by an "on" one, its callback will be called next.
With this solution, note however that get-param, and its callers such as
with-request-params, may not work well with checkboxes.
Alex
__________________________________________
Yahoo! DSL Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com
More information about the bese-devel
mailing list