You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Wendy Smoak (JIRA)" <ji...@apache.org> on 2006/09/01 21:58:31 UTC

[jira] Commented: (STR-2265) checkboxes not being set from ON to OFF --> solution

    [ http://issues.apache.org/struts/browse/STR-2265?page=comments#action_38113 ] 
            
Wendy Smoak commented on STR-2265:
----------------------------------

Is this resolved in 1.3 with the addition of the 'reset' attribute for <form-property> ?

> checkboxes not being set from ON to OFF --> solution
> ----------------------------------------------------
>
>                 Key: STR-2265
>                 URL: http://issues.apache.org/struts/browse/STR-2265
>             Project: Struts 1
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.2.4
>         Environment: Operating System: Windows XP
> Platform: PC
>            Reporter: Ruud
>         Assigned To: Struts Developers
>            Priority: Minor
>
> 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...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira