Hi, What is the "proper" Struts way to implement create/update pages in the following scenario.
You've got a Customer Form bean with the following properties: - First Name - Last Name - List of PhoneNumber Beans A PhoneNumber bean with these properties: - Country Code - Area Code - Number - Description I'd like it to be set up like this: CreateCustomer.jsp has text fields for first and last name, and it displays the list of added phone numbers. It also has an "Add New Phone Number" link. This link takes you to AddPhoneNumber.jsp. This page has fields for all the phone number properties, and an "Add" button. When you press the "Add" button it returns you to the CreateCustomer.jsp. The list of phone numbers on this page will reflect the newly added phone number. The part of this I'm having trouble figuring out is how the List of phone number beans gets updated. Is there a way to tell Struts to add a new PhoneNumberBean to CustomerBean's list of phone numbers? Or do I have to do it myself in an Action? I haven't been able to find any examples like this with nested beans. All the nested examples I find just show you how to display nested data. I need to create new nested data and add it to the parent. Any help would be greatly appreciated. Thanks, Nate --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]