0 Replies Latest reply on Mar 21, 2013 8:44 AM by dragos.oana

    fileUpload with progress facet not working

    dragos.oana

      Hi,

       

      I am using RichFaces 3.3.3 and Tomcat 6. I want to use fileUpload without any progress bar but when I click the button to upload a file nothing happens. What am I missing here?

       

      <rich:fileUpload id="uploadSystemUpdate" acceptedTypes="*" maxFilesQuantity="1" immediateUpload="true"
                                 addControlLabel="#{lbls.add_systemUpdate}" listHeight="80px" listWidth="500px"
                                 autoclear="true" stopButtonClass="rich-fileupload-button"
                                 onerror="alert('Error uploading file');" fileUploadListener="#{configuration_Backing.uploadSystemUpdateCompleted}">
                    <a4j:support limitToList="true" event="onupload" action="#{configuration_Backing.uploadSystemUpdateStarted}"/>
                    <a4j:support limitToList="true" event="onerror" action="#{configuration_Backing.uploadSystemUpdateError}"/>
                    <f:facet name="progress">
                        <rich:progressBar rendered="false" />
                    </f:facet>
                </rich:fileUpload>