Skip to Main Content

APEX

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!

Close Dialog event

Brad ChrissFeb 16 2022

I have a page containing an IR, and LOV and a button. The IR has a column with a link to a dialog page to view individual record. The button opens a separate dialog. The page also has a DA that will refresh the report and LOV once a dialog closes.
Once I close the dialog (triggered from the column link) the IR and LOV will refresh. However, when I close a dialog (triggered from the button), the IR and LOV will not refresh.
The DA, I have the IR as a the triggering element. The true action has nothing for the affective element and runs a JS code apex.event.trigger(jQuery id, 'apexrefresh') for both the IR and LOV
Does the apexafterclosedialog event trigger after any dialog closes or just one dialog?
Would I need more than one DA to trigger the refresh?

Comments

Talya,

Can you elaborate your usecase on why would you want to do that? Can't you pass them as parameters to the child TF?

-Arun

Shay Shmeltzer-Oracle

You shouldn't be directly accessing a containing page values from a task flow. This will create a situation where your task flow is only usable in a single page.

Instead define parameters to your task flow and pass those from the containing JSF.

1 - 2

Post Details

Added on Feb 16 2022
2 comments
1,241 views