Hallo,
I've a fragment like this one...

When it's called in "CreeateWithParams" mode the user has to fill the form in the 1st tab and then can optionally add rows in the af:tables of the other tabs. All the changes have to be committed/rollbacked together.
I'd like to make the tables readonly and handle the editing (In the image in the detail tabs I forgot to put an "edit" button) and the inserting of records through a pop up form.
Each detail table will have its own pop up form. I would create each form drag&dropping the fields from the same VO istance used for the af:table.
I'd like to know if is it a good appraoch putting the 3 needed pop up forms directly in the fragment? Or will I have to put each form in a mono-fragment bounded task flow and put the fragment in the popup?
Each pop up form will contain a confirm and a cancel button.
If the pop up opens (for editing or inserting) and the user clicks the cancel button I'd like to not see any changes in the table.
Changes should pass to the af:table only if the user click the confirm button.
To achieve this I guess that, when the user clicks cancel, I cannot use the Rollback operation of the AM since this will cancel all the pending changes, not only the last one.
Could you kindly give some advices on how to achieving this?
Thanks,
Federico