| Demo | Sources | Description |
|---|---|---|
| Simple status demo | ||
| Ajax | ajax/simple.jsp |
Simple 5 secons long process with simple status and JavaScript raw translator.
ProcessStaus.toString() is used to visualize process' progress. |
| Server side | serverside/simple.jsp | |
| Cancelable progress demo | ||
| Ajax | ajax/cancelable.jsp |
Simple 10 secons long cancelable process progress with XML translator.
As in the above demo ProcessStaus.toString() is used to visualize process'
progress but this time it includes progress information as well. SlugMgr
instance is named allowing it to be canceled. Explicit refresh time of 1 second is set. |
| Server side | serverside/cancelable.jsp serverside/canceled.html | |
| Custom redirections demo | ||
| Ajax |
ajax/status_redirects.jsp ajax/consume.jsp ajax/canceled.html |
10 secons long cancelable process with custom update, progress and redirections.
This demo uses userdefined updateFunction and errorFunction
functions and controls different HTML elements. The errorFunction errorHndlr
demonstrates limited server error recovery. Different messages shown and redirections are
performed based on user's actions.
|
| GUI progress bar demo | ||
| Ajax | ajax/progress_bar.jsp ajax/js.jsp |
10 secons long process with proggress bar. Demostrates simple GUI
progress bar with 1/2 second refresh time and external JavaScript usage. |