Hubert Rabago wrote:

In order to detect boxes that are unchecked, your form should set the
corresponding property's value to false in its reset() method.  See
http://struts.apache.org/userGuide/struts-html.html#checkbox .

hth,
Hubert


On Thu, 24 Feb 2005 11:13:05 -0300, Vinicius Caldeira Carvalho
<[EMAIL PROTECTED]> wrote:


Hello there! I have a form with a nested object and I'm using struts
<nested> tags to display it.
One of the properties of the nested pojo is a checkbox. Now, handling
checkboxes with struts is already a pain, and I figured that nested
checkboxes are even worse.

Here's the deal. If the user unchecks some of the checkboxes, as the
browser doesn't send the value, it keeps the old checked value in the
property of the pojo. How could I solve this? any ideas please?

---------------------------------------------------------------------
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]





Well I guess you haven't read the question. This is a nested checkbox, in ordinary checkboxes I use reset with no problem, but how to do this in a nested component????

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to