Same problem here as well. But in my case the checkbox values are coming
from the database. So I can't set all checkbox properties to false in the
reset() method.

Any solution in mind?

Affan

----- Original Message -----
From: "ROSSEL Olivier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 07, 2003 3:45 PM
Subject: Checkbox in a multiple-page form.


> I have a form on 3 pages.
> So my form bean is in session scope.
>
> The JSP are as follows:
>
> Page1:
> some text inputs+some checkboxes.
>       Next>>
>
> Page2:
> more advanced stuff
>   <<Previous    Next>>
>
> Page3:
> even more advanced stuff
>   <<Previous    Finish
>
> My problem is the classic problem of checkboxes.
> I do check some of them on page1.
> I go to page 2, then to page 3.
>
> Then back, back.
> And guess what?
> All my checkboxes on page 1 are empty.
>
> Of course, they are empty cause I coded that
> in the reset() method of my form bean:
> all checkboxes <= false.
> (it's in the FAQ).
>
> Well, replacing the value of the checkbox with false
> seems to have erased the value the user had chosen.
>
> I (of course) missed something.
>
> Any help?
>
>
> ---cut here---
>
>
> This e-mail is intended only for the above addressee. It may contain
> privileged information. If you are not the addressee you must not copy,
> distribute, disclose or use any of the information in it. If you have
> received it in error please delete it and immediately notify the sender.
> Security Notice: all e-mail, sent to or from this address, may be
> accessed by someone other than the recipient, for system management and
> security reasons. This access is controlled under Regulation of
> Investigatory Powers Act 2000, Lawful Business Practises.
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


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

Reply via email to