[Bese-devel] Checkboxes broken
Maciek Pasternacki
maciekp at japhy.fnord.org
Tue Sep 19 11:41:32 UTC 2006
On Prickle-Prickle, Bureaucracy 40, 3172 YOLD, hbabcockos1 at mac.com wrote:
>> It seems that no matter what I do, the value of my checkboxes is
>> always nil. I'm on sbcl 0.9.16.24 on Intel Mac OS X, using ucw_dev
>> from yesterday's boxset.
>>
>> I've boiled it down to the following very basic code. The checkbox
>> does seem to correctly remember whether or not to be checked, but
>> its value is always nil.
>
> The render method for the checkbox sets the value to nil (ucw/src/
> components/form.lisp) prior to rendering. I believe this is/was a
> browser compatibility issue (http://common-lisp.net/pipermail/bese-
> devel/2006-August/002556.html).
Should not happen now, I fixed it in ucw_dev:
,----
| Tue Aug 22 17:46:43 CEST 2006 Maciek Pasternacki <maciekp at japhy.fnord.org>
| * Add slot SAVED-VALUE and hidden form field to CHECKBOX-FIELD to work around resetting fields on re-render without submitting.
`----
If it still behaves funny, please give exact set of steps (e.g. define
checbox, set (value checkbox) to t, render checbox, render other page
(without submitting form), render checkbox -- that was what made
checkboxes unset before) to reproduce and I'll look into this -- this
bug bit me some time ago, and maybe I left out some cases when working
around it.
Sorry for delay in replying, I upgraded my system recently and
couldn't get darcs to work for few days :( that's what happens when
you use Linux distro targetted for this distro's developers (even if
you're in the target geoup)...
--
__ Maciek Pasternacki <maciekp at japhy.fnord.org> [ http://japhy.fnord.org/ ]
`| _ |_\ / { -It's possible that people in my life are actually detrimental
,|{-}|}| }\/ to what I'm trying to do right now--And what is it you're trying
\/ |____/ to do? -- I'm trying to stay sane. } ( I Feel Sick ) -><-
More information about the bese-devel
mailing list