1 Reply Latest reply on Nov 4, 2013 3:33 PM by

    jQuery.js conflict between RF 4.5 and 5.0

    Brian Leathem Master

      The jQuery version we use in RichFaces 5 is currently pinned by the

      jQuery requirements of RichFaces 4.5.  Idealy we would port the RF 4.5

      to use the newer jQuery, however this will only take us so far, as

      jQuery 2.x drops support for older IE browsers https://community.jboss.org/1, some of which are

      targets for RichFaces 4 https://community.jboss.org/2.

       

      A flexible solution to this problem that would allow the RF 4.5 and RF 5

      to use separate jQuery versions (in a compatible way).  For an example

      of how we can achieve this, see https://community.jboss.org/3.

       

      This however would not resolve any conflicts in jQuery UI plugins.

      Before proceeding down this path we should grep the codebase and

      identify where such a conflict can be expected, and an assessment made

      to determine if they can be worked-around.

       

      Thoughts?

       

      Brian

       

      https://community.jboss.org/1 http://jquery.com/browser-support/

      https://community.jboss.org/2

      https://community.jboss.org/wiki/PrioritizedRichFacesBrowsersCompatibilityMatrix

      https://community.jboss.org/3

      http://stackoverflow.com/questions/1566595/can-i-use-multiple-versions-of-jquery-on-the-same-page