[ http://issues.apache.org/struts/browse/STR-2265?page=all ]
Paul Benedict resolved STR-2265.
--------------------------------
Fix Version/s: 1.3.5
Resolution: Fixed
Assignee: (was: Struts Developers)
Fixed by adding the reset method.
> 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
> Priority: Minor
> Fix For: 1.3.5
>
>
> 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