开发者

How do I turn off minified JavaScript under Richfaces?

For the purposes of debugging I need to make Richfaces use non-minified JavaScript. Is there a si开发者_运维知识库mple way to accomplish this?


A co-worker helped me out, posting this here for posterity. In the web.xml file add,

<context-param>
        <param-name>org.ajax4jsf.COMPRESS_SCRIPT</param-name>
        <param-value>false</param-value>
</context-param>

Apparently this doesn't work for every script.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜