users@javaserverfaces.java.net

Resource issue when upgrading from JSF 2.0.9 -> 2.1.13

From: Stephen More <stephen.more_at_gmail.com>
Date: Tue, 16 Oct 2012 11:06:56 -0400

Today I decided to upgrade my JSF from 2.0.9 to 2.1.13. ( I am
currently using primefaces 3.4.1. )

In 2.0.9 and most of my pages in 2.1.13, jquery script appears inside
of the head element like it should:
  Code:
       <head> ... <script type="text/javascript"
src="/pro/javax.faces.resource/jquery/jquery.js.jsf?ln=primefaces"></script>
... </head>

But in certain pages using JSF 2.1.13, jquery script appears at the
VERY end of the html:
  Code:
      </body></html><script type="text/javascript"
src="/pro/javax.faces.resource/jquery/jquery.js.jsf?ln=primefaces"></script>

which in turn breaks my ajax calls.

Is this a known bug ? ( With JSF or prime ? ) Is there a fix/workaround ?



-Stephen More