alloy:progressBar

ProgressBar is a UIComponent that displays a progress bar and can operate as a server-side or client-side progress indicator.

General Usage

The component can display server-side progress by nesting an f:ajax child tag. When event="poll" (the default), the component will poll the server for progress by checking the value attribute on the server and updating the client-side widget. The pollingDelay attribute can be used to specify the delay (in milliseconds) before dispatching a polling Ajax request after receiving the response of a previous request.

JavaScript API:
  • start() causes the progress bar to start polling the server.
  • stop() causes the progress bar to stop polling the server.

Source Code

Liferay Faces Alloy 4.1.1 + Liferay Faces Bridge Implementation 5.0.0 + Showcase Common 4.0.0 + Liferay Faces Util 3.4.1 + Mojarra 2.2.20