myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen More <stephen.m...@gmail.com>
Subject [ CODI ] JSF resource injection issue with Mojarra 2.1.8 and above
Date Tue, 23 Oct 2012 14:27:23 GMT
I am having a JSF resource injection issue, and I think the bug may
exist in CODI.

Working scenarios will display jquery like this:
   <head> ...  <script type="text/javascript"
src="/pro/javax.faces.resource/jquery/jquery.js.jsf?ln=primefaces"></script>
...   </head>

Broken scenarios will display jquery at the very end of the html
output like this:
    </body></html><script type="text/javascript"
src="/pro/javax.faces.resource/jquery/jquery.js.jsf?ln=primefaces"></script>

The component contains:
@ResourceDependencies({
        @ResourceDependency(library="primefaces", name="jquery/jquery.js"),
        @ResourceDependency(library="primefaces", name="primefaces.js")
})

Working stacks:
    Mojarra 2.0.9 + weld + CODI
    Mojarra 2.1.6 + weld + CODI
    Mojarra 2.1.7 + weld + CODI
    Mojarra 2.1.13

Broken stacks:
    Mojarra 2.1.8 + weld + CODI
    Mojarra 2.1.10 + weld + CODI
    Mojarra 2.1.13 + weld + CODI
    Mojarra 2.1.13 + OpenWebBeans + CODI


Is there some compatibility issue between Mojarra 2.1.8 and above and
CODI 1.0.5 ?

-Stephen More

Mime
View raw message