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.



-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to