Client Events |
Name | Description | Supported Classes for Argument | Default Event Scopes |
|
complete | Fired when the value of the progressbar reaches the maximum value (default event). | javax.faces.event.AjaxBehaviorEvent | execute=@this render=@all |
cancel | Fired when the progress process is cancelled by calling cancel(). | javax.faces.event.AjaxBehaviorEvent | execute=@this render=@all |
change | Fired when the value of the progressbar changes. | javax.faces.event.AjaxBehaviorEvent | execute=@this render=@all |
Attributes |
Name | Required | Request-time | Type | Description |
binding | no | true | javax.el.ValueExpression | Using an EL expression, bind the component reference to a bean property, so that the component may be accessed in the bean. |
cancelListener | no | true | javax.el.MethodExpression | A server side listener to be invoked when a progress is cancelled. |
changeListener | no | true | javax.el.MethodExpression | A server side listener to be invoked when the value of the progress bar changes. |
completeListener | no | true | javax.el.MethodExpression | A server side listener to be invoked when a progress is completed. |
disabled | no | true | boolean | Disables or enables the progressbar. |
id | no | true | java.lang.String | The component identifier for this component. This value must be unique within the closest parent component that is a naming container. |
indeterminate | no | true | boolean | Determines whether the progress bar operates in indeterminate mode or not. If true, the progress bar shows a constant animation across the entire span of the bar when active to show that it is in a busy state. It is meant to be used in cases where the task completion is not knowable in terms of steps or a percentage value. Default = 'false'. |
pollingInterval | no | true | int | Interval in milliseconds to do polling. Default = '3000'. |
rendered | no | true | boolean | Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle. Default = 'true'. |
style | no | true | java.lang.String | Inline style of the main container element. |
styleClass | no | true | java.lang.String | Style class of the main container element. |
usePolling | no | true | boolean | If true, you can use start() to start polling sever for progress value. |
value | no | true | int | Value of the progress bar. Default = '0'. |