Hi,

I have a form that requires managing master-detail relationships. A
simplified example would be a person form where a person can have many
addresses. What I'd like to to do is use JavaScript to add new address
detail sub-forms to the person form on the same page.

So, the user would click an 'Add Address' button, and a new address detail
form would appear. The user would be able to add any number of addresses,
and they would all get submitted along with the person data when the user
submits the form.

I can handle the JavaScript part. But, I'm not sure exactly how the address
data should appear in the query string (what name=value pairs I should
send), or what the controller code should look like.

I have done some googling, but have not found a complete solution. Has
anyone done this sort of thing? I'd be grateful for any suggestions.

Thanks!

Greg
-- 
View this message in context: 
http://www.nabble.com/Dynamic-forms-with-Spring-MVC-tf4396661s2369.html#a12537445
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to