Forum Stats

  • 3,752,514 Users
  • 2,250,513 Discussions
  • 7,867,862 Comments

Discussions

Display Wait Animation During PL/SQL Dynamic Action

hpd305
hpd305 Member Posts: 30 Red Ribbon
edited Oct 1, 2018 4:54PM in APEX Discussions

I'm currently using APEX 5.1. I defined a dynamic action on a button click that executes a PL/SQL stored procedure then submits the page.

The procedure takes approximately 30 seconds to execute. I'd like to display a wait "spinner" animation while the procedure runs.

I added a JavaScript action before the PL/SQL code with the following statement

     apex.widget.waitPopup();

However the animation appears briefly after the procedure has finished just before the page submit.

How can I get the spinner to appear immediately when the button is clicked?

Thanks.

Pavel_pOraclePledge3824332

Answers

This discussion has been closed.