The user could possibly do any of these things:
1. Choose a selection template from the drop-down combo which would populate the form with the selections from the template. Then edit and save this same template. This one's easy, put the BO in edit mode on the drop-down selection and then save it on the save button click.
2. Open the form, edit some values, make some selections and save these changes as a new template. This one's pretty easy too...just call a .Add on the form creation and a .Save on the save button click.
3. Choose a template just like in the first two, except after editing some of the selections on the form, the user then changes the name of the template to something else and wants to now make this a new template. At this point I would have to switch from Edit to Add mode, but retain the selected values. I can't think of a way to do this. If I call an Add here it clears out the values I currently have selected. I need to be able to navigate to a current row in a business object, put it in edit mode so i can start changing its' values. Then, I have to be able to cancel the edit (undo), take all the values that have been changed so far and apply them towards a NEW row which I have created. This would accomplish what I'm trying to do.
Is there any way to copy the contents of the current row to a new row or something along these lines? I've tried using two business objects, but I guess I'm just not doing something right because I can't get it to work the way I'd like.