An ADF Faces ProgressIndicator Example for File Upload

This post demonstrates how an ADF Faces ProgressIndicator can be used to display the progress of a file upload.
The sample application is built in JDeveloper 10.1.3.2. You can download the sample workspace from here. The workspace does not need a database connection to run.
Sample Application
The sample application consists of one page that allows the user to upload files to the server. When the upload starts, a progress indicator displays the current status of the upload operation. The uploaded files are not stored anywhere.
Controlling the progressIndicator
<f:view> <afh:html> <afh:head title="FileUpload"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/> <afh:script source="progressIndicator.js"/> </afh:head> <afh:body onload="deactivateProgressIndicators();"> <af:messages/> <af:form usesUpload="true"> <af:inputHidden id="fileUploadSt…
The sample application is built in JDeveloper 10.1.3.2. You can download the sample workspace from here. The workspace does not need a database connection to run.
Sample Application
The sample application consists of one page that allows the user to upload files to the server. When the upload starts, a progress indicator displays the current status of the upload operation. The uploaded files are not stored anywhere.
Controlling the progressIndicator
<f:view> <afh:html> <afh:head title="FileUpload"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/> <afh:script source="progressIndicator.js"/> </afh:head> <afh:body onload="deactivateProgressIndicators();"> <af:messages/> <af:form usesUpload="true"> <af:inputHidden id="fileUploadSt…