Alloy Showcase


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 3.0.1 + Liferay Faces Bridge Implementation 4.1.0 + Showcase Common 3.0.1 + Liferay Faces Util 3.1.0 + Mojarra 2.2.17