Oracle Apex: Create a progress bar when waiting result

倾然丶 夕夏残阳落幕 提交于 2019-12-23 02:31:34

问题


I create a procedure to process data. This procedure take ~1 minute to complete. How can I create a wating (progress) bar to wait for the result of procedure?

Note: Now I use version 4 of Apex. Please help me the way to implement using javascript and css


回答1:


Here is the easiest solution with no javascript or css.

Lets say you have a button named 'P1_Submit' which submits the page and triggers you process. Edit the button and at Action select Defined by Dynamic Action. Then create a dynamic action with:

  1. Event=Click
  2. Selection Type=Button
  3. Button=P1_Submit
  4. Condition=No Condition
  5. True Action=Submit Page
  6. Uncheck Fire On Page Load
  7. Show Processing=Yes



回答2:


There are a few dynamic action based plug-ins that can be used for progress bars in APEX. Here is one I wrote.

https://github.com/drumbeg/apex-nprogress



来源:https://stackoverflow.com/questions/32716566/oracle-apex-create-a-progress-bar-when-waiting-result

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!