0
votes

I am using an interactive report in Oracle Apex with rows and columns to display and edit some data in a tabular form. I have an icon, which on clicking, opens a Modal Dialog Page, where some data is entered.

Now on closing the dialog page ( the action is submit page on the close button of the dialog ), the parent page behind is just getting re-rendered and I am losing all the edited data entered before opening the modal dialog.

I am not able to find a way that would also Submit Parent Page after closing Modal Dialog so that all the values entered before opening dialog also get saved when the parent page gets submitted.

1

1 Answers

1
votes

If I understand, you have a tabular form on the parent page. In this report you have a link that opens a modal. in this modal you fill some data. You need to click a button, save the data you filled in the modal, and submit the parent page.

If so, try doing this:

1 - In the modal create a dynamic action to execute a code pl/sql and save your data in the modal page by clicking on a button.

2 - In this same dynamic action create another true action to close the modal "Close Dialog".

3 - On the parent page create a dynamic action where:

Event: Dialog closed

Selection Type: Region

Region: the region of the report

Condition: No condition

True Action: submit the page to save the form tabular

enter image description here