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.
Greetings,
dennis hoersch
--
HIS Hochschul-Informations-System GmbH
Goseriede9| 30159 Hannover | _www.his.de_ <http://www.his.de/>
Dennis Hörsch
Unternehmensbereich Hochschul-IT
Arbeitsbereich Personalmanagement
Telefon +49 (0)511 1220-403 | Fax +49 (0)511 1220-250
E-Mail hoer...@his.de <mailto:mustern...@his.de>
Registergericht: Amtsgericht Hannover, HRB 6489
Geschäftsführer: Prof. Dr. Martin Leitner
Vorsitzender des Aufsichtsrats: Ministerialdirigent Peter Greisler