RichFaces / Ajax4JSF: How to turn off JavaScript obfuscation?
How can I turn off JavaScript shortening in A4J? I remember there was an option, possibly used during build, which made .js
files not being processed by some shortner / obfus开发者_如何学运维cator, thus remaining nicely formatted. But I can't remember what it was or find it on the web.
Anyone knows?
Thanks
Actually, it looks like the param is
<context-param>
<param-name>org.ajax4jsf.COMPRESS_SCRIPT</param-name>
<param-value>false</param-value>
</context-param>
See http://community.jboss.org/message/32022#32022
精彩评论