For multiple, you also must set values back to false in reset() (The
question here of course is which checkbox refers to which element. You may
need to refactor such that your checkboxes return non boolean values so you
can tell which is which at the server end).
The reason for this is that the
Hey man! RU refactoring my messages? ;-)
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 8:17 AM
To: Struts Users Mailing List
Subject: RE: CheckBox and Boolean[] Array - Incorrect Values Submitted
When CheckBox is unchecked
For multiple
'
Subject: RE: CheckBox and Boolean[] Array - Incorrect Values Submitted
When CheckBox is unchecked
Hey man! RU refactoring my messages? ;-)
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 8:17 AM
To: Struts Users Mailing List
Subject: RE
at home!!
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: 04 October 2002 13:42
To: Struts Users Mailing List
Subject: RE: CheckBox and Boolean[] Array - Incorrect Values Submitted When
CheckBox is unchecked
Wrote it before I read yours.
Just had a beer and a GT so my
, October 04, 2002 20:56
To: 'Struts Users Mailing List'
Subject: RE: CheckBox and Boolean[] Array - Incorrect Values Submitted
When CheckBox is unchecked
Sorted!!
Got a String[] (checkboxes), and when form is submitted the positions of the
checked checkboxes are sent in this array ...
% int i
5 matches
Mail list logo