RE: CheckBox and Boolean[] Array - Incorrect Values Submitted When CheckBox is unchecked

2002-10-04 Thread Andrew Hill
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

RE: CheckBox and Boolean[] Array - Incorrect Values Submitted When CheckBox is unchecked

2002-10-04 Thread Galbreath, Mark
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

RE: CheckBox and Boolean[] Array - Incorrect Values Submitted When CheckBox is unchecked

2002-10-04 Thread Andrew Hill
' 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

RE: CheckBox and Boolean[] Array - Incorrect Values Submitted When CheckBox is unchecked

2002-10-04 Thread Charlesworth, Chico
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

RE: CheckBox and Boolean[] Array - Incorrect Values Submitted When CheckBox is unchecked

2002-10-04 Thread Andrew Hill
, 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