JBoss Community

Design of AS7 multi-JSF feature

new comment by Torben Greiser View all comments on this document

Hey Bruno,

 

I am receiving the same error

WARNING [org.apache.myfaces.renderkit.html.HtmlScriptRenderer] (http-localhost/127.0.0.1:8080-2) Resource referenced by resourceName jsf.js and libraryName javax.faces not found in call to ResourceHandler.createResource. It will be silenty ignored.

Die you happen to resolve it? I tried to debug MyFaces and RichFaces but so far no look. The JavaScript library jsf.js is contained in

META-INF/resources/myfaces/META-INF/resources/myfaces/api/jsf.js
META-INF/resources/javax.faces/jsf.js
META-INF/internal-resources/org.apache.myfaces.core.api/jsf.js

in the myfaces-api-2.1.11.jar. My guess is, that those resource are not available to either RichFaces or MyFaces itself. I tried using <filter> in deployment-structure.xml to include the dependency to the new myfaces module and also used

<resource-root path="myfaces-api-2.1.11.jar">
    <filter>
        <include path="META-INF/**"/>
    </filter>
</resource-root>

but no look so far.