Oracle PaaS - Resolve ADF Compatibility

Quick fix of ADF 12cR2 application site display issue in Internet Explorer in compatibility mode.

Enterprise environment usually have multiple applications build in different technology. Few applications work with older versions and not upgraded to work with latest browser.  Some websites might appear blank or might not display correctly in Windows Internet Explorer 9 or 11. Because site might have been designed for an earlier version of Internet Explorer. To handle this Compatibility View is on for IE. “Compatibility View” is a compatibility mode feature of the web browser Internet Explorer in version 8 and later. When active, Compatibility View forces IE to display the webpage in Quirks mode as if the page were being viewed in IE7.

If you access ADF application 12cR2 with compatibility mode on, webpage will show popup “The current compatibility setting is not supported. Disable Compatibility View before running the web page

Message from webpage

To resolve this issue, add the below context parameters entry in web.xml

oracle.adf.view.rich.HIDE_UNSUPPORTED_BROWSER_ALERTS

IECompatibilityModes

org.apache.myfaces.trinidad.Agent#OVERRIDE_IE_COMPATIBILITY_MODE

true

By adding above context parameters in web.xml file, ADF application will work in IE browser without having Compatibility settings issue.

For information on more such critical issues, please visit our blog or contact us.

Leave a Reply

Your email address will not be published. Required fields are marked *