Dynamic creation of dropdowns and sending the selected values to struts/spring
I have a requirement where I had to dynamically add set of fields and need to capture those values and send to spring/struts. Also need to show the previous selected values when the user come back to same page.
For Eg: I need to have 2 drop downs and 1 text box to be dynamically generated when the user press add button. Consider A user is entering his skill set. we have to dynamically allow him to add more skills.
Considering that use case, I have to populate technical skills in first drop down. expert level in second drop down. last time used in a date text box. User is allowed to enter multiple skills when he press the add button adjacent to each row. I should be able to generate these input fields dynamically and send to middle tier.
Plz help with code snippets or ideas. Thanks in advance for your time and help !!!