February 24, 2014

Fitting ADF application in an html iFrame

If you want to display or fit an ADF application in an iFrame, you have to add below  statement to web.xml file.

<context-param>
<param-name>oracle.adf.view.rich.security.FRAME_BUSTING</param-name>
<param-value>never</param-value>
</context-param>

Content Compression

Add the below statement to the web.xml to disable content compression so that we can see the fusion css classes to each component.

<context-param>
<param-name>org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION</param-name>
<param-value>true</param-value>
</context-param>

Including a JSF page into another JSF page

Like jsp page, we can also include a JSF page into another JSF page by using the same jsp directive jsp:include.

Example:

<jsp:include page="test.jspx" flush="true"></jsp:include>