且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Oracle Apex:在等待结果时创建进度条

更新时间:2022-10-14 20:25:24

这里是没有javascript或css的最简单的解决方案。 >

假设您有一个名为 P1_Submit 的按钮,该按钮提交页面并触发您处理。编辑按钮,并在操作选择通过动态操作定义。然后创建动态操作:


  1. 事件=点击

  2. 选择类型=按钮

  3. Button = P1_Submit

  4. 条件=无条件

  5. True Action =提交页面

  6. 取消选中防火网页加载

  7. 显示处理=是


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

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