开发者

RichFaces / Ajax4JSF: How to turn off JavaScript obfuscation?

开发者 https://www.devze.com 2022-12-18 05:41 出处:网络
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, th

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号