Wednesday, April 28, 2010

Debgging Javascript issues in ADF app

To help make debugging easier add the below context params to your ADF web application's web.xml

<context-param>
<param-name>org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.trinidad.DEBUG_JAVASCRIPT</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>oracle.adf.view.rich.LOGGER_LEVEL</param-name>
<param-value>WARNING</param-value>
</context-param>


Then restart the server.

No comments: