You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (Created) (JIRA)" <de...@myfaces.apache.org> on 2012/03/30 18:22:29 UTC
[jira] [Created] (MYFACES-3519) Could not load Javascript-Sources
in 'Package' org.apache.myfaces.core.impl.xhrCore.engine
Could not load Javascript-Sources in 'Package' org.apache.myfaces.core.impl.xhrCore.engine
------------------------------------------------------------------------------------------
Key: MYFACES-3519
URL: https://issues.apache.org/jira/browse/MYFACES-3519
Project: MyFaces Core
Issue Type: Bug
Components: JSR-314
Reporter: dennis hoersch
Assignee: Leonardo Uribe
Hi,
I am testing MyFaces 2.1.6 with ProjectStage=Development. And I have an Javascript-error: Firefox showes me that 'myfaces.core.impl.xhrCore.engine' is undefined. After looking around I found that the jsf-uncompressed.js loads some libraries, i.e.:
_ls("#{resource['org.apache.myfaces.core.impl.xhrCore.engine:XhrConst.js']}", null, null, "UTF-8", false);
_ls("#{resource['org.apache.myfaces.core.impl.xhrCore.engine:FormData.js']}", null, null, "UTF-8", false);
_ls("#{resource['org.apache.myfaces.core.impl.xhrCore.engine:Xhr1.js']}", null, null, "UTF-8", false);
_ls("#{resource['org.apache.myfaces.core.impl.xhrCore.engine:IFrame.js']}", null, null, "UTF-8", false);
The replaced JS in Firefox for these entries looks like the following:
_ls("", null, null, "UTF-8", false);
The resources are packaged under:
META-INF/internal-resources/org.apache.myfaces.core.impl.xhrCore/engine
The ResourceLoader expects them to be in:
META-INF/internal-resources/org.apache.myfaces.core.impl.xhrCore.engine
After changing it in my local myfaces-jar all libraries could be loaded.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MYFACES-3519) Could not load Javascript-Sources
in 'Package' org.apache.myfaces.core.impl.xhrCore.engine
Posted by "dennis hoersch (Commented) (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-3519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13242518#comment-13242518 ]
dennis hoersch commented on MYFACES-3519:
-----------------------------------------
OK, thank you, I wasn't sure if it is a bug :-)
> Could not load Javascript-Sources in 'Package' org.apache.myfaces.core.impl.xhrCore.engine
> ------------------------------------------------------------------------------------------
>
> Key: MYFACES-3519
> URL: https://issues.apache.org/jira/browse/MYFACES-3519
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-314
> Reporter: dennis hoersch
> Assignee: Leonardo Uribe
> Fix For: 2.0.13, 2.1.7
>
>
> Hi,
> I am testing MyFaces 2.1.6 with ProjectStage=Development. And I have an Javascript-error: Firefox showes me that 'myfaces.core.impl.xhrCore.engine' is undefined. After looking around I found that the jsf-uncompressed.js loads some libraries, i.e.:
> _ls("#{resource['org.apache.myfaces.core.impl.xhrCore.engine:XhrConst.js']}", null, null, "UTF-8", false);
> _ls("#{resource['org.apache.myfaces.core.impl.xhrCore.engine:FormData.js']}", null, null, "UTF-8", false);
> _ls("#{resource['org.apache.myfaces.core.impl.xhrCore.engine:Xhr1.js']}", null, null, "UTF-8", false);
> _ls("#{resource['org.apache.myfaces.core.impl.xhrCore.engine:IFrame.js']}", null, null, "UTF-8", false);
> The replaced JS in Firefox for these entries looks like the following:
> _ls("", null, null, "UTF-8", false);
> The resources are packaged under:
> META-INF/internal-resources/org.apache.myfaces.core.impl.xhrCore/engine
> The ResourceLoader expects them to be in:
> META-INF/internal-resources/org.apache.myfaces.core.impl.xhrCore.engine
> After changing it in my local myfaces-jar all libraries could be loaded.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MYFACES-3519) Could not load Javascript-Sources
in 'Package' org.apache.myfaces.core.impl.xhrCore.engine
Posted by "Leonardo Uribe (Commented) (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-3519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13242504#comment-13242504 ]
Leonardo Uribe commented on MYFACES-3519:
-----------------------------------------
I checked and there are some small bugs there, due to some important changes. This bug only can be seen when this param is set:
<context-param>
<param-name>org.apache.myfaces.USE_MULTIPLE_JS_FILES_FOR_JSF_UNCOMPRESSED_JS</param-name>
<param-value>true</param-value>
</context-param>
Fortunately, the solution is simple, just fix the paths to:
_ls("#{resource['org.apache.myfaces.core.impl.xhrCore:engine/XhrConst.js']}", null, null, "UTF-8", false);
_ls("#{resource['org.apache.myfaces.core.impl.xhrCore:engine/FormData.js']}", null, null, "UTF-8", false);
_ls("#{resource['org.apache.myfaces.core.impl.xhrCore:engine/BaseRequest.js']}", null, null, "UTF-8", false);
_ls("#{resource['org.apache.myfaces.core.impl.xhrCore:engine/Xhr1.js']}", null, null, "UTF-8", false);
_ls("#{resource['org.apache.myfaces.core.impl.xhrCore:engine/IFrame.js']}", null, null, "UTF-8", false);
And add two js files (_DomExperimental.js and _ExtTransport.js) that are included on the normal version.
> Could not load Javascript-Sources in 'Package' org.apache.myfaces.core.impl.xhrCore.engine
> ------------------------------------------------------------------------------------------
>
> Key: MYFACES-3519
> URL: https://issues.apache.org/jira/browse/MYFACES-3519
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-314
> Reporter: dennis hoersch
> Assignee: Leonardo Uribe
>
> Hi,
> I am testing MyFaces 2.1.6 with ProjectStage=Development. And I have an Javascript-error: Firefox showes me that 'myfaces.core.impl.xhrCore.engine' is undefined. After looking around I found that the jsf-uncompressed.js loads some libraries, i.e.:
> _ls("#{resource['org.apache.myfaces.core.impl.xhrCore.engine:XhrConst.js']}", null, null, "UTF-8", false);
> _ls("#{resource['org.apache.myfaces.core.impl.xhrCore.engine:FormData.js']}", null, null, "UTF-8", false);
> _ls("#{resource['org.apache.myfaces.core.impl.xhrCore.engine:Xhr1.js']}", null, null, "UTF-8", false);
> _ls("#{resource['org.apache.myfaces.core.impl.xhrCore.engine:IFrame.js']}", null, null, "UTF-8", false);
> The replaced JS in Firefox for these entries looks like the following:
> _ls("", null, null, "UTF-8", false);
> The resources are packaged under:
> META-INF/internal-resources/org.apache.myfaces.core.impl.xhrCore/engine
> The ResourceLoader expects them to be in:
> META-INF/internal-resources/org.apache.myfaces.core.impl.xhrCore.engine
> After changing it in my local myfaces-jar all libraries could be loaded.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (MYFACES-3519) Could not load Javascript-Sources
in 'Package' org.apache.myfaces.core.impl.xhrCore.engine
Posted by "Leonardo Uribe (Resolved) (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-3519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leonardo Uribe resolved MYFACES-3519.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.1.7
2.0.13
> Could not load Javascript-Sources in 'Package' org.apache.myfaces.core.impl.xhrCore.engine
> ------------------------------------------------------------------------------------------
>
> Key: MYFACES-3519
> URL: https://issues.apache.org/jira/browse/MYFACES-3519
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-314
> Reporter: dennis hoersch
> Assignee: Leonardo Uribe
> Fix For: 2.0.13, 2.1.7
>
>
> Hi,
> I am testing MyFaces 2.1.6 with ProjectStage=Development. And I have an Javascript-error: Firefox showes me that 'myfaces.core.impl.xhrCore.engine' is undefined. After looking around I found that the jsf-uncompressed.js loads some libraries, i.e.:
> _ls("#{resource['org.apache.myfaces.core.impl.xhrCore.engine:XhrConst.js']}", null, null, "UTF-8", false);
> _ls("#{resource['org.apache.myfaces.core.impl.xhrCore.engine:FormData.js']}", null, null, "UTF-8", false);
> _ls("#{resource['org.apache.myfaces.core.impl.xhrCore.engine:Xhr1.js']}", null, null, "UTF-8", false);
> _ls("#{resource['org.apache.myfaces.core.impl.xhrCore.engine:IFrame.js']}", null, null, "UTF-8", false);
> The replaced JS in Firefox for these entries looks like the following:
> _ls("", null, null, "UTF-8", false);
> The resources are packaged under:
> META-INF/internal-resources/org.apache.myfaces.core.impl.xhrCore/engine
> The ResourceLoader expects them to be in:
> META-INF/internal-resources/org.apache.myfaces.core.impl.xhrCore.engine
> After changing it in my local myfaces-jar all libraries could be loaded.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira