From: Edmund L. <el...@in...> - 2003-03-30 03:38:56
|
Gee, I forgot that this mailing list exists... should have just posted the following here, rather than the Webware list a few days ago... I've hacked MultiCheckboxField and CheckboxField to properly support the static and hide options. Static multi and single checkbox fields actually appear as greyed-out checkboxes, etc. I had to modify SimpleHTMLGen a little to support these changes. The change is that the html function is now able to generate valueless tags like "disabled". In addition, I've modified CheckboxField to return 1 and 0 (true and false) rather than "on" and 0, to be consistent with both documentation and expectations. These are relatively largish changes that will break code that depends on getting "on" and 0 from CheckboxFields, so I'm not sure if I should check them into CVS. What's the feeling? ...Edmund. |