Re: Check-boxes and formbeans

2003-12-18 Thread Gurpreet Dhanoa
PROTECTED] Sent: Thursday, December 18, 2003 10:30 AM Subject: Check-boxes and formbeans Hi All, I have many checkboxes with the same name in my html form. I use struts framework. When i submit the form, will i be able to access the checkboxes as an array in the form bean? Or should i have

RE: Check-boxes and formbeans

2003-12-18 Thread Andrew Hill
, 18 December 2003 15:58 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Check-boxes and formbeans hi Just declare a property field with the datatype as array like String[] mycheckBox It will automatically populate all of the checkbox selected into the array property Regards Gary

Check-boxes and formbeans

2003-12-17 Thread vasudevrao gupta
Hi All, I have many checkboxes with the same name in my html form. I use struts framework. When i submit the form, will i be able to access the checkboxes as an array in the form bean? Or should i have a seperate field for each checkbox in the formbean? Regards Vasudevrao gupta

RE: Check-boxes and formbeans

2003-12-17 Thread Jitesh Sinha
you will be able to access fields with same name as an array... -Original Message- From: vasudevrao gupta [mailto:[EMAIL PROTECTED] Sent: Thursday, December 18, 2003 10:31 AM To: 'Struts Users Mailing List' Subject: Check-boxes and formbeans Hi All, I have many checkboxes with the same

RE: Check-boxes and formbeans

2003-12-17 Thread Amit Kumar Sharma
To: Struts Users Mailing List Subject: RE: Check-boxes and formbeans you will be able to access fields with same name as an array... -Original Message- From: vasudevrao gupta [mailto:[EMAIL PROTECTED] Sent: Thursday, December 18, 2003 10:31 AM To: 'Struts Users Mailing List' Subject: Check

RE: Check-boxes and formbeans

2003-12-17 Thread Jitesh Sinha
that's correct...you won't be able to get unchecked checkboxes -Original Message- From: Amit Kumar Sharma [mailto:[EMAIL PROTECTED] Sent: Thursday, December 18, 2003 10:57 AM To: Struts Users Mailing List Subject: RE: Check-boxes and formbeans I had the same problemwhen we do

RE: Check-boxes and formbeans

2003-12-17 Thread Amit Kumar Sharma
: Jitesh Sinha [mailto:[EMAIL PROTECTED] Sent: Thursday, December 18, 2003 11:27 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: Check-boxes and formbeans that's correct...you won't be able to get unchecked checkboxes -Original Message- From: Amit Kumar Sharma [mailto:[EMAIL

RE: Check-boxes and formbeans

2003-12-17 Thread hgosper
respond to Struts Users Mailing List To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject:RE: Check-boxes and formbeans what is the solution for that than ?we can't keep two array to maintain the values attachedbecause of this limitation I had