This content has been marked as final. Show 3 replies
Hi Mike,1 person found this helpful
here is an example especially for you:
Thanks for this link. It is helpful. I am not quite able to get it to work, however. The popup page needs to be submitted so the DML processing kicks in and inserts the new row in the table. I still can't get the parent to redirect. Probably some issue in my code. I will continue to tinker with it and see if I can get it to work.
OK. Should it be the After Submit Page Process only, or can you create for this purpose a dynamic action (if you are on the APEX 4.0 or newer) or an Ajax process if you on APEX release prior APEX 4.0?
I have change my example application and added some dynamic actions.
There are now two buttons:
1. "Select Department" - with the "old" functionality
2. "Create Department" - with the "New" functionality.
The button "Create Department" opens a Pop-Up window with a form to insert a new department. When you click on the button "Create" the dynamic action will be fired - inserts the new department, redirects the new department number to the parent page and after this it opens the next page with the employee information for the fresh created department.
Please test this example, that hopefully earns the "Correct Answer" note ;-)