You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/09/28 19:07:17 UTC

DO NOT REPLY [Bug 31455] - null Boolean field value in ActionForms

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31455>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31455

null Boolean field value in ActionForms

martinc@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From martinc@apache.org  2004-09-28 17:07 -------
It cannot. Note that there is *nothing* in the request to indicate that a 
checkbox is not checked; in this situation, the parameter is simply not present 
at all. A value for a checkbox is send in the request *only* if the checkbox is 
checked. So there is no way to change the value of a checkbox field from null 
to false if there is nothing in the request to indicate that the checkbox was 
unchecked.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org