Hi there,
You probably you so set the PROJECT_STAGE. If you set it to Development
the uncompressed version should be used.
Enabling this is as simple as putting the below into your web.xml:
<context-param>
<param-name>javax.faces.PROJECT_STAGE</param-name>
<param-value>Development</param-value>
</context-param>
When going into production, simply change the project stage to Production,
like so:
<context-param>
<param-name>javax.faces.PROJECT_STAGE</param-name>
<param-value>Production</param-value>
</context-param>
Manfred
-----Original Message-----
From: ericjvandervelden_at_gmail.com [mailto:ericjvandervelden_at_gmail.com]
Sent: Tuesday, November 22, 2011 1:34 AM
To: users_at_javaserverfaces.java.net
Subject: jsf & js
Hello,
I see that JSF uses jsf.js. But I would like it to use jsf-uncompressed.js.
How do I do that?
I have done
<h:outputScript name="jsf-uncompresses.js" library="javax.faces"/>
This works but now there are 2 scripts and the jsf.js is chosen.
Thanks,
Eric J.
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1873 / Virus Database: 2101/4632 - Release Date: 11/22/11