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

Make sure a jquery lib is available to non-JSF client applications

    XMLWordPrintable

    Details

      Description

      Since theme removal, some cleanup was done in JS resources used in Nuxeo, and the jquery lib that JSF pages are relying on actually comes with RichFaces.

      This does not allow to migrate external script that were relying on the themes-lib servlet like:

       <script type="text/javascript" src="/nuxeo/nxthemes-lib/jquery.js">
       </script>
      

      The importer and segment.io addons currently hold such a call that should be migrated.

      => embed a jquery version by default in the webapp (use the sane version than the one provided by RichFaces) and define a bundle to reference it instead as:

       <script type="text/javascript" src="/nuxeo/wro/api/v1/resource/bundle/jquery.js">
       </script>
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: