The example above demonstrates how to create a script that is capable of providing an update to a progress bar.
Lets say you have 2 panels, panel1 is the view that is being computed on the server side and panel2 could be the
progress bar at the bottom right. When you click on the 'Load' button, two seperate actions occur: one calls the loadGui
(progresslong.php, see source below) for the panel widget, the other calls the setPoll (progressupdate.php, see source below)for
the progressbar widget.
Two actions get started, one for the loadGui of the panel1 and two for the polling of the statusbar, this poll will be
accessing a script that can monitor the status of the original thread. (Or could just be a dummy progress).
The 'progressbar.xml' Source:
The 'progresslong.php' Source:
The 'progressupdate.php' Source: