How do I turn off minified JavaScript under Richfaces?
For the purposes of debugging I need to make Richfaces use non-minified JavaScript. Is there a si开发者_运维知识库mple way to accomplish this?
A co-worker helped me out, posting this here for posterity. In the web.xml file add,
<context-param>
<param-name>org.ajax4jsf.COMPRESS_SCRIPT</param-name>
<param-value>false</param-value>
</context-param>
Apparently this doesn't work for every script.
精彩评论