I do not believe this is a bug. Setting the value to false when unchecked is
most useful for a lot of cases. I hated when in S1 you had to reset all your
checkboxes in code in order to get unchecked values that were previously
checked when the page loaded.
Furthermore, there are struts 2 books out there that explain how this could
work. Did you try this:
<interceptor-ref name="completeDefault">
<param name="checkbox.uncheckedValue">-1</param>
</interceptor-ref>
-----Original Message-----
From: Ignacio de Córdoba [mailto:[email protected]]
Sent: May 5, 2009 11:48 AM
To: [email protected]
Subject: Re: Integer s:checkbox sends "false" value to action setter
Hi,
I've seen this has not been solved or replied here. Could anybody give me
any directions on how to post a JIRA issue for this?
I've seen https://issues.apache.org/struts/secure/BrowseProject.jspa but
can't get to the area for posting new issues/bugs.
Thanks,
Ignacio
--
View this message in context:
http://www.nabble.com/Integer-s%3Acheckbox-sends-%22false%22-value-to-action-setter-tp22210478p23390245.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]