Gregor Rayman schrieb:
> 
> "Hartmut Bernecker" <[EMAIL PROTECTED]> wrote:
> 
> > Hello,
> >
> > I have a checkbox in a form. If I check it and then submit the form,
> > then I receive the value "true" in the action when calling the method
> > form.getMyCheckbox();
> >
> > But if I uncheck the checkbox and submit the form again, then I receive
> > **again** the value true in the action when calling the method
> > form.getMyCheckbox();
> >
> > Who can help???
> >
> > Hartmut
> 
> Hi, there are two possible solutions:
> 
> 1) use request scope forms
> 2) implement the reset() method. (Which you should do anyway always, when
> you use checkboxes)
> 
> --
> gR


I had implemented the reset() method:

    public void reset(ActionMapping mapping, ServletRequest request)
    {
        myCheckbox = false;
        [...]
    }

But anyway: the problem persists.

Reply via email to