Hello,
 
I have been building an appliction using the Struts framework for a couple of 
weeks and am starting to get a good feel for using it. So far I have been using 
ActionForms and am pleased with them.
 
As I was going over the job specification yesterday, I noticed I am coming up 
on a large form page. Meaning lots of checkboxes radios, etc. Here is what I am 
seeing on a page.
checkbox = [ ] button
radio () button
<form>
[ ]  NAME       () picture     [ ] new     [ ] battery
[ ]  NAME1     () picture     [ ] new     [ ] battery
[ ]  NAME2      () picture     [ ] new     [ ] battery
[ ]  NAME3     () picture     [ ] new     [ ] battery
[ ]  NAME4     () picture     [ ] new     [ ] battery
[ ]  NAME5     () picture     [ ] new     [ ] battery
etc, etc.
 
Anyway, so far most of my forms have dealt with either a single checkbox or a 
checkbox and a select list.
 
So in my above question example, each line could be an object with properties.
 
I am trying to lay this out in some classes, etc, and create a ActionForm for 
this. So I can capture the values as they are changed. But I am getting lost in 
such a big form.
 
Could someone possibly explain how I can accomplish this. I do not need to 
validate, just need to update the values to a db (standard workings) and 
populate the form from a query.
 
 
Thanks,
Scott
 
 
 

Reply via email to