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/10/29 15:29:40 UTC

DO NOT REPLY [Bug 31960] New: - checkboxes not being set from ON to OFF --> solution

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=31960>.
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=31960

checkboxes not being set from ON to OFF --> solution

           Summary: checkboxes not being set from ON to OFF --> solution
           Product: Struts
           Version: 1.2.4
          Platform: PC
               URL: http://struts.apache.org/faqs/newbie.html#checkbox
        OS/Version: Windows XP
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Controller
        AssignedTo: dev@struts.apache.org
        ReportedBy: ruudko@gmx.net


I use a DynaActionForm, which uses defined properties.
One of these properties is used for a checkbox. I face the common problem
mentioned at: http://struts.apache.org/faqs/newbie.html#checkbox.
However it should be possible for a DynaActionForm (ay Dyna..Form) to determine
that a chackbox is unchecked. Its property not being in the ActionForm is an
indication that its value should be reset to an empty string or boolean false,
or its default value... In this case a NONE presence IS information!!

In my eyes this is a solution for at least Dyna.....Forms...

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