8 Replies Latest reply on Jul 9, 2013 6:13 AM by Petro Verheles

    <rich:fileUpload> not working in IE8

    SUMIT GHOSH Newbie

      I have a <rich:fileUpload> in my xhtml  page.after successful upload, all uploaded files will be shown to a <rich:dataTable>. I have given the render attrbute in <rich:fileUpload> for rendering the files in <rich:dataTable> and also written method for fileuploadListener.And also done relevant coding for this functionality,its working fine in mozilla,chrome,opera,but not in IE8.

       

      I have given:::

      <meta http-equiv="X-UA-Compatible" content="IE=8"/>

      <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/> for making it compatible in IE8,but in vein.

       

      my code is as follows:

       

      <rich:fileUpload style="width:412px;"

                                              noDuplicate="true"

                                              fileUploadListener="#{fileUploadController.listener}"

                                              maxFilesQuantity="#{fileUploadController.uploadsAvailable}"

                                              id="upload" immediateUpload="#{fileUploadController.autoUpload}"

                                              acceptedTypes="#{fileUploadController.supportedTypes}"

                                               listHeight="182px" doneLabel="Uploading File"

                                               immediate="true">

                                             <a4j:ajax event="uploadcomplete" render="uplodedFileTable"

                                                oncomplete="if(#{fileUploadController.error}){#{rich:component('errorPopup')}.show();}" />

        </rich:fileUpload>