views:

160

answers:

1

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

+1  A: 

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

Mike Haefele
Ah, damn, I copied the wrong section of a XML snippet from a wrong page :) Thanks for correction.
Ondra Žižka