You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org> on 2009/11/20 12:27:39 UTC

[jira] Created: (MYFACES-2412) ResourceHandler cannot find jsf.js

ResourceHandler cannot find jsf.js
----------------------------------

                 Key: MYFACES-2412
                 URL: https://issues.apache.org/jira/browse/MYFACES-2412
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 2.0.0-alpha
            Reporter: Jakob Korherr


Testing f:ajax I ran into the following warning:

WARNUNG: Resource referenced by resourceName jsf.js and libraryName javax.faces not found in call to ResourceHandler.createResource. It will be silenty ignored.

So there is no javascript for f:ajax and thus it does not work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MYFACES-2412) ResourceHandler cannot find jsf.js

Posted by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-2412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12781015#action_12781015 ] 

Jakob Korherr commented on MYFACES-2412:
----------------------------------------

I just found out that finding jsf.js is not the problem.

The problem is that maven generates the jsf.js in target/classes/META-INF/resources/javax.faces, but just a little bit after the generation my eclipse IDE copies the META-INF directory from src/main/resources and overwrites it. So the generated jsf.js gets lost and the ResourceHandler cannot find it.

So it is not a major problem - I just copied jsf.js to the right directory per hand (on my local copy, of course).

Does anyone have an idea to solve this in a better way?

> ResourceHandler cannot find jsf.js
> ----------------------------------
>
>                 Key: MYFACES-2412
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2412
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha
>            Reporter: Jakob Korherr
>
> Testing f:ajax I ran into the following warning:
> WARNUNG: Resource referenced by resourceName jsf.js and libraryName javax.faces not found in call to ResourceHandler.createResource. It will be silenty ignored.
> So there is no javascript for f:ajax and thus it does not work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.