|
| An: Struts Users Mailing List <[EMAIL PROTECTED]>
|
| Kopie:
I think I know what you mean, but the problem is that the checkboxes
should be checked if a user comes on the site for the first time. If I
set all the checkboxes in the reset method to false wouldn't the
checkboxes be always set to false unless the user checks it?
Am Don, 2003-06-12 um 11.10 sch
Hallo Kristine,
you may also see my mail with subject: Question about the reset()
method from today.
Regards,
Dirk
***
KW> hi,
KW> In my web application I'm using one form where several checkboxes with
KW> different names and oth
Set the checkbox values to true in the Action that displays your form not in
the reset method of your ActionForm.
You'll find more detail on this if you search the list archives.
Steve
-Original Message-
From: Kristine Weissbarth [mailto:[EMAIL PROTECTED]
Sent: June 12, 2003 1:30 AM
To:
Hi,
In the reset method you need to set as false, other wise it won't uncheck
the selection.
Thanks & Regards,
Ashok.D
- Original Message -
From: "Kristine Weissbarth" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, June 12, 2003 1:59 PM
Subject: ch
See this in the Struts documentation:
http://jakarta.apache.org/struts/struts-html.html#checkbox
Somewhere else the documentation explains why. Basically HTTP does not send checkbox
values of false
back to the server, so if your ActionForm reset method sets the boolean value(s) to
false, any chec
6 matches
Mail list logo