DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12573>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12573 Handling of HTML-Checkboxes and (dynamic) FormBeans result in false values [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2002-10-18 12:21 ------- Checkboxes are a real pain. You really have to initialize them (in the form) to false, and let the user set them to true. If you need to preset the CheckBox to true, the place to do that is in the Action. If they leave it to true, it gets set again. If they uncheck it, the parameter disappears, and it stays false. Unfortunately, the HTML specification doesn't give us any leeway here. Meanwhile, Struts 1.1 absolutely does not require JavaScript on the client. It's true that the Validator can optionally use JavaScript, but the primary validations are in Java, the JavaScript versions are just icing. -- To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>