I am using html : radio with indexed properties. Displaying works fine but retrieving values in the action using action form is becoming an issue. I have nearly 50 questions with Yes, No and N/A radio options along with text area to answer. How do I do it? I have gone through index properties turotial but to my particular question, couldn't find anything for radio buttons. Any help, pointers with example would be appreciated.
posted 9 years ago
Here's a quick sample:
In order for this to work, you must either use session scope for the ActionForm, or use lazy initialization in the getters to re-create the ArrayList of Questions if it's null;