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

Was it helpful?

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>

See http://community.jboss.org/message/32022#32022

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top