Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-15910

Fix rich fileupload resources loading on ajaxified tabs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0-HF01, 7.1
    • Component/s: Seam / JSF UI

      Description

      Reproducible on intranet.

      • empty your browser cache
      • go to any File Document
      • click on Files tab
      • see that the rich:fileupload widget is messed up

      This is because js/css fileuplaod resources are not correctly loaded on ajax navigation.

      JS errors are:

      Uncaught TypeError: undefined is not a functionrunScripts jsf.js.faces?ln=javax.faces:1
      doUpdate jsf.js.faces?ln=javax.faces:1response jsf.js.faces?ln=javax.faces:1
      jsf.ajax.response richfaces.js:663
      rf.queue.response richfaces-queue.js:463
      jsf.ajax.response richfaces-queue.js:72
      onComplete jsf.js.faces?ln=javax.faces:1
      AjaxEngine.req.xmlReq.onreadystatechange jsf.js.faces?ln=javax.faces:1
      

      See screenshot.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                grenard Guillaume Renard
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: