dev@javaserverfaces.java.net

Re: ResourceHandler problem in Mojarra 2.1.8 and above

From: Edward Burns <edward.burns_at_oracle.com>
Date: Fri, 19 Oct 2012 08:35:42 -0700

>>>>> On Fri, 19 Oct 2012 11:19:55 -0400, Stephen More <stephen.more_at_gmail.com> said:

SM> I recompiled prime faces with the following change:
SM> - @ResourceDependency(library="primefaces", name="jquery/jquery.js"),
SM> - @ResourceDependency(library="primefaces", name="primefaces.js")
SM> + @ResourceDependency(library="primefaces",
SM> name="jquery/jquery.js", target="head"),
SM> + @ResourceDependency(library="primefaces",
SM> name="primefaces.js", target="head")

SM> Now jquery is inside of <HEAD/> but I think the javascripts are out of
SM> order. i.e. primefaces.js is rendered before jquery/jquery.js.

SM> What controls the order in which ResourceDependency gets executed ?

Please take a look at < http://java.net/jira/browse/JAVASERVERFACES-2552
>. While this isn't specifically linked to ordering, I want to make
sure you're not hitting this one.

Ed

-- 
| edward.burns_at_oracle.com | office: +1 407 458 0017
| homepage:               | http://ridingthecrest.com/