[Bese-devel] checkboxes

Vladimir Sekissov svg at surnet.ru
Wed Dec 28 15:12:08 UTC 2005


svg> (defmethod coerce-client-value ((e checkbox-element) value)
svg>   (unless (stringp value) ; value unchanged, return NIL
svg>     (when (call-next-method)
svg>       (setf (slot-value e 'client-value) t)
svg>       t)))

Sorry, typo:

(defmethod coerce-client-value ((e checkbox-element) value)
   (when (and (stringp value)     ; when value unchanged, return NIL
              (call-next-method))
       (setf (slot-value e 'client-value) t)
       t))

Best Regards,
Vladimir Sekissov




More information about the bese-devel mailing list