struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinicius Caldeira Carvalho <vinicius.carva...@squadra.com.br>
Subject Re: Help with checkboxes and nested
Date Thu, 24 Feb 2005 14:21:36 GMT
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
><vinicius.carvalho@squadra.com.br> 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: user-unsubscribe@struts.apache.org
>>For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
>
>
>  
>
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message