RichFaces / Ajax4JSF: How to turn off JavaScript obfuscation?
-
22-09-2019 - |
Question
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 / obfuscator, thus remaining nicely formatted. But I can't remember what it was or find it on the web.
Anyone knows?
Thanks
Solution
Actually, it looks like the param is
<context-param>
<param-name>org.ajax4jsf.COMPRESS_SCRIPT</param-name>
<param-value>false</param-value>
</context-param>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow