Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-7190

rich:fileUpload broken in IE8

    XMLWordPrintable

    Details

      Description

      I'm seeing an issue where the rich:fileUpload component isn't working under IE8. Seems to be working fine under Chrome, Safari, FF3 and IE7 (as well as IE8 Compatibility Mode). In IE8 the "Add Files" button is grayed out.

      The IE8 script debugger says the issue is with an invalid argument at line 8259 character 25 of ui.pack.js

      Here is the line:

      if(typeof q.addRule==Q){q.addRule(v,r)

      My component is used like so.

      <rich:modalPanel id="fileUpload" width="420" height="205" keepVisualState="true">
      <f:facet name="header">
      <h:outputText value="Upload Files" />
      </f:facet>
      <f:facet name="controls">
      <h:panelGroup>
      <h:graphicImage value="/img/close.png" styleClass="hidelink" id="hidelinkFile"/>
      <rich:componentControl for="fileUpload" attachTo="hidelinkFile" operation="hide" event="onclick"/>
      </h:panelGroup>
      </f:facet>
      <h:form id="fileUploadForm">
      <rich:fileUpload fileUploadListener="#

      {sfopportunity.uploadSFOpportunityFile}

      "
      listHeight="125"
      maxFilesQuantity="10"
      id="upload"
      addControlLabel="Add Files"
      immediateUpload="false"
      acceptedTypes="pdf, doc, docx, xls, xlsx, txt, csv, jpg, jpeg, gif, bmp, tif, tiff" allowFlash="true" autoclear="true">
      <a:support event="onuploadcomplete" reRender="info" oncomplete="#

      {rich:component('fileUpload')}

      .hide()"/>
      <f:facet name="label">
      <h:outputText value="{_KB}KB of

      {KB}

      KB uploaded —

      {mm}

      :

      {ss}

      " />
      </f:facet>
      </rich:fileUpload>
      </h:form>
      </rich:modalPanel>

      Attaching the js file as well.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mvitenkov Mikhail Vitenkov
                Reporter:
                clerum Cody Lerum
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: