Am 10/19/11 5:20 PM, schrieb Leonardo Uribe:
Hi
I remember with jsf-uncompressed.js there is a custom ResourceLoader
that redirects javax.faces:jsf.js to that file. Maybe we can do
something similar, and create another custom ResourceLoader. See:
http://svn.apache.org/repos/asf/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/resource/InternalClassLoaderResourceLoader.java
The only question left is how users can configure this. I think a web
config param could be created. For example (suggestions about better
names are welcome)
org.apache.myfaces.JSF_JS_MODE
and these possible values:
a) normal (by default)
b) minimal-modern
c) minimal
d) legacy
e) experimental
I think the jsf-i18n.js should be on META-INF/resources/myfaces
instead META-INF\internal-resources\javax.faces .
Does this sounds good? suggestions are welcome.
Sounds good to me, that way we do not break compatibility to mojarra in
the page source,and I will take care that if mojarra is loaded the
extension packages wont cause any browser errors.
I also will change the builds in a way that the extension packages will
go into the myfaces subdirectory tomorrow.
Werner