You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Rakesh N R <ra...@wipro.com> on 2002/06/12 11:02:27 UTC
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
[ann] Easy Struts 0.2 for Eclipse users
Posted by "emmanuel.boudrant" <b7...@yahoo.fr>.
Hi,
Easy Struts 0.2 for Eclipse is out
*Features
- Wizard for action, form, jsp creation
- Create & Run with Tomcat Sysdeo Plugin
*Changes
- Wizard for forward creation added
- Distribution
- Some fix
*More :
- http://sourceforge.net/projects/easystruts
- http://easystruts.sourceforge.net/
Enjoy,
-Emmanuel
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: How to create dynamic list of checkboxes
Posted by "SATISH.T" <sa...@wipro.com>.
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:rakesh.ravee@wipro.com]
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