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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Display Wait Animation During PL/SQL Dynamic Action

hpd305Mar 24 2018 — edited Oct 1 2018

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.

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 29 2018
Added on Mar 24 2018
8 comments
11,212 views