<div dir="ltr">We can achieve precise ordering as suggested in the post:<div><br></div><div>* load jquery-1.9</div><div>* load plugins that depends on jquery-1.9</div><div>* load jquery-2.x</div><div>* load plugins that depends on jquery-2.x</div>

<div><br></div><div>We would need to find out how to hook into process of ordering @ResourceDependencies.</div><div><br></div><div>I think custom renderer for &lt;h:outputScript/stylesheet could help here.</div><div>We already had some discussions at <a href="https://issues.jboss.org/browse/RF-12537">https://issues.jboss.org/browse/RF-12537</a>.</div>

<div>This area is little bit under-specified though.</div><div><br></div><div><br></div><div>Cheers,</div><div><br></div><div>~ Lukas</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Nov 4, 2013 at 8:01 PM, Brian Leathem <span dir="ltr">&lt;<a href="mailto:bleathem@gmail.com" target="_blank">bleathem@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    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 [1], some of which
    are targets for RichFaces 4 [2].<br>
    <br>
    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 [3].<br>
    <br>
    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.<br>
    <br>
    Thoughts?<br>
    <br>
    Brian<br>
    <br>
    [1]
    
    <a href="http://jquery.com/browser-support/" target="_blank">http://jquery.com/browser-support/</a><br>
    [2]
    
    <a href="https://community.jboss.org/wiki/PrioritizedRichFacesBrowsersCompatibilityMatrix" target="_blank">https://community.jboss.org/wiki/PrioritizedRichFacesBrowsersCompatibilityMatrix</a><br>
    [3]
    <a href="http://stackoverflow.com/questions/1566595/can-i-use-multiple-versions-of-jquery-on-the-same-page" target="_blank">http://stackoverflow.com/questions/1566595/can-i-use-multiple-versions-of-jquery-on-the-same-page</a><br>


  </div>

<br>_______________________________________________<br>
richfaces-dev mailing list<br>
<a href="mailto:richfaces-dev@lists.jboss.org">richfaces-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/richfaces-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/richfaces-dev</a><br></blockquote></div><br></div>