Create ur form only to have an arraylist or a collection object, and the
collection object
Will hold a list of info objects, an attribute of ur info object would
be ur  checkbox attribute.
-----Original Message-----
From: Rakesh N R [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, June 12, 2002 2:32 PM
To: Struts Users Mailing List
Subject: How to create dynamic list of checkboxes

Hi,

  I am a newcomer to Struts. I have a requirement where in which i have
to create a dynamic list of checkboxes(the number of checkboxes will
vary at each request). From my knowledge of Struts i was able to
comprehend that i would have to create a FormBean for the form i have
with properties corresponding to all the checkboxes. Since i dont know
beforehand how many checkboxes will be there how can i develop the
FormBean which caters to such dynamic number of checkboxes. Can i have a
ArrayList the way select tag is used.

Thanks in Advance
Rakesh


**************************Disclaimer************************************

Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.

***************************************************************************

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

Reply via email to