TagLib Documentation This section covers attributes involved in the typical use-cases for this component. For reference, the complete taglib documentation for this component is available here.
usePolling specifies the mode of progressBar, in polling mode progress value is retrieved periodically from a backing bean.
cancelListener, changeListener, completeListener are the listeners for the different stages of the progress. In the change event you can get the value and percentage of the progress bar.
pollingInterval is time between polls to the server in milliseconds.
Listener to be invoked when the value of the progressbar changes.
Listener to be invoked when the value of the progressbar reaches the maximum value.
Listener to be invoked when the progress process is cancelled by calling cancel().
Client Behavior Events
Fired when the value of the progressbar reaches the maximum value (default event).
Fired when the progress process is cancelled by calling cancel().
Fired when the value of the progressbar changes.
The client side progress bar object is exposed through the global variable named by the widgetVar attribute. You can use the getValue() and setValue() methods to read and change the value. Use the start() and cancel() methods for polling. See Getting Started above for examples.
The following markup represents the basic HTML structure of the component and the CSS classes it uses.
<div class="[user defined classes] ui-progressbar ui-widget ui-widget-content ui-corner-all" style="[user defined styles]"><div class="ui-progressbar-value ui-widget-header ui-corner-left"></div></div>