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|RESOLVED                    |REOPENED
         Resolution|INVALID                     |



------- Additional Comments From [EMAIL PROTECTED]  2003-02-14 11:46 -------
I am new to struts, and I have already stumbled against this issue.




Would it not be possible to solve this issue in the following way :


in org.apache.struts.taglib.html.CheckboxTag#doStartTag


add a special attribute called for instance CheckboxTag


in this attribute, store the names of all the checkboxes




Then in org.apache.struts.util.RequestUtils#populate


make a cross check to find checkboxes for which there are no request parameters.


For these "missing" checkboxes, the corresponding FormBean property should then 
be set to false.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to