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!

dialog close DA not firing when apex.navigation.redirect used to open dialog

Jeremy WebbJun 5 2020 — edited Jun 10 2020

Hi,

Running on apex 19.1

I have an IG which used to have a link column which when clicked would open a modal dialog page. This page would update the record and then when the dialog was closed the dialog close DA would fire to refresh the row that had been updated. Worked fine.

We have since changed, as we had a number of such link columns, to using some custom additions to the row actions menu. This means we are now opening the model dialog using apex.navigation.redirect.

I am building the URL in an AJAX process using,

l_url := apex_util.prepare_url( p_url => apex_page.get_url( p_application => :APP_ID

                                                        , p\_page               => 3

                                                        , p\_session            => :SESSION

                                                        , p\_request            => NULL

                                                        , p\_debug              => :DEBUG

                                                        , p\_clear\_cache        => '3'

                                                        , p\_items              => 'P3\_EMPLOYEE\_NUMBER

                                                        , p\_values             => l\_emp\_no

                                                        , p\_printer\_friendly   => NULL

                                                        , p\_trace              => NULL)

                            , p\_triggering\_element => '#theIG'

                            , p\_plain\_url          => TRUE);

theIG is the static ID for my IG.

Previously we were not specifying the p_triggering_element, but tried the as we found articles that suggested this was the problem.

On the closing dialog I have specified

Screenshot 2020-06-05 at 08.14.04.png

Previously, we were just using the selector type of javascript expression, and set to document.

But the dialog close DA does not fire.

Any ideas?

Help, as ever, gratefully received.

Thanks,

Jeremy

This post has been answered by Keyser on Jun 10 2020
Jump to Answer
Comments
Post Details
Added on Jun 5 2020
8 comments
4,550 views