views:

34

answers:

1

For the purposes of debugging I need to make Richfaces use non-minified JavaScript. Is there a simple way to accomplish this?

+2  A: 

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.

James McMahon
Thank you for finding out.
volothamp