I know.  Struts doesn't handle unchecked boxes very well.  In fact, it
doesn't understand them at all.

What you do is grab the current value from the DB display it, and then
manually set the value to false from either a Reset() action in your FORM or
directly from your JSP.

If you don't manually set the value to false, it will always save as True.



----- Original Message -----
From: "Eric Rasmussen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 08, 2001 12:27 PM
Subject: Re: Unchecking radio buttons?


> Are you sure the radio buttons all have the same name?
>
> If not, they will all be treated seperately.
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, May 08, 2001 11:42 AM
> Subject: Unchecking radio buttons?
>
>
> >
> >
> > Hi.  I have a set of radio buttons.  However, if I check one of them, I
am
> not
> > able to uncheck it!
> >
> > Any ideas what I am missing?
> >
> > Many thanks,
> >
> > Dave
> >
> >
> >
> >
>
>

Reply via email to