I am developing a dynamic form on which there will be 1 or more "questions", each of which will have 2 or more radio button options. I build the form on the fly based on external criteria - the "questions" and answer options will be different every single time. As struts requires a getter and setter for each property for my ActionForm class, I've come up with a really ugly way to handle this. There must be an elegant solution out there. Any ideas?
Have a look at the indexed properties available to Struts. Dynamic forms are handled decently in Struts. I will see if I can dig up a piece of our system that uses this and post back if you still have not found the solution. But "indexed fields" is the key!