oraclequirks  

demo parameters
the value of these parameters affects the speed of the progress bar indicator demo
code parameters
the values of these parameters are reflected in the source code that you see when you click on the hide and show regions.
Press enter to apply the changes.
how to implement the progress bar indicator in your application   
Welcome to the progress bar demo!

This page shows you how to create a conditional region for showing the progress bar inside the same page where you kick off the background process performing the operation that you want to monitor.

Click on go to display a live demo of the progress bar indicator.

The graphical parameters of the progress bar are completely customizable, color, width, height and labels can be modified directly inside the XML source code, as per AnyChart specification document. You can also stick to the XML source code generated automatically by Apex by selecting "NO" in the "Use custom XML" attribute of the flash chart property page if you don't need to change certain details like the bold typeface of the title or you don't want to show a subtitle.

The SQL query feeding the chart reads the data from a custom table asynchronously updated through procedure YY_UPD_PROGRESS_BAR. The query is also designed to provide you with a clickable link once the job is completed.

All you need to do is to:
  1. copy the flash chart region into the desired page of your application;
  2. create a process for submitting the background operation;
  3. invoke procedure YY_UPD_PROGRESS_BAR at the relevant points inside the procedure to be scheduled, so that the chart is fed with the data;
  4. copy the validation to prevent duplicate job submissions;
  5. schedule the procedure YY_REMOVE_EXPIRED_BARS to automatically purge expired entries in the table YY_PROGRESS_BAR;
sample code of the process submitting the asynchronous job (step 2)
sample of procedure updating the progress bar indicator (step 3)
sample code of the validation (step 4)
sample code of the process submitting the purge job (step 5)

release 1.1 www.yocoya.com