> Where the trouble comes in is if the field is unchecked which I thought
> would set the value of the Boolean to "false."  It doesn't, it remains
> as a true.
>
> How do I implement behavior where if the checkbox is unchecked it sets
> the corresponding property of the form to false?

The issue is that an unchecked checkbox does not send a value when a
form is submitted, so:

   request.getParameter("myUncheckedCheckbox") == null

You can run this check in an action, and modify forms appropriately.
I can say more on this topic, if you need, wrt. session-scoped forms
(and why you should not use them).

-Dave

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

Reply via email to