Apex 5.0: Show a progress bar while Database Actio

2019-04-02 13:28发布

Implementing a Waitbar or Progressbar

In my Apex 5.0 application I have a SQL Update which is taking very long to process, and I want to implement an indicator to show that it is still running, so that the user won't start the action again.

A progressbar would do the trick, can anyone suggest a way of doing so?

(plugins aren't possible)

2条回答
看我几分像从前
2楼-- · 2019-04-02 14:03

Use the JavaScript function apex.sumbit to submit the page and include the showWait option to display the progress bar. Here is an example...

apex.submit({  request:"DELETE",  set:{"P1_DEPTNO":10, "P1_EMPNO":5433},  showWait:true});
查看更多
看我几分像从前
3楼-- · 2019-04-02 14:16

Just Change the action of your SUBMIT button to Dyanamic Action

  • On dynamic action choose ON CLICK as Event .Choose Button for Selection Type and Choose Name of your submit Button to Button

  • Then on Action, Choose SUBMIT PAGE

  • Then on Request /Button Name, put your SUBMIT button's Name.

  • Then set SHOW PROCESSING to YES

查看更多
登录 后发表回答