Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

[ ADF, JDev12.1.3 ] Master af:form w/read-only Detail af:tables: how to handle insert and edit throu

FlattitOct 24 2014 — edited Oct 29 2014

Hallo,

I've a fragment like this one...

pastedImage_0.png

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

This post has been answered by kdario on Oct 26 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 26 2014
Added on Oct 24 2014
9 comments
1,861 views