Hi guys,
I have a 'Normal' page (with a classic report). When pressing the 'edit' on a row, the user is redirected to a Modal page. This Modal page has a master-detail section:
When pressing the 'Master-edit' the user will be redirected to another (non-chained) modal page.
When the users pressed the Delete button on that page, I want to delete the record, and then redirect the user to the classic report. But I cannot manage to do that. The redirect branch does not get called, and when I close the modal page via the Close Dialog process, the user will be redirected to the previous modal page (which is then empty because the master just got deleted). I have tried using the attributes field of the Dialog section
but cannot manage to add a value I can use to differentiate between a 'Delete-Close' model and a 'non-delete' close model. In the case the user does not delete the master record and saves or cancels the master-edit screen, he should be redirected to the first modal page.
How can I get the application to redirect to the classic report on the 'Normal' page only when the user deletes the master record?
I tried to install my application on apex.oracle.com, but my exported DDL file contains 'collate' clauses (no idea how to eliminate those) and apex.oracle.com raises errors because of this.
I hope somebody knows the answer to this question without a working example on apex.oracle.com