Oracle OAF嵌入ADF界面方法

Embedding ADF Region into OAF Page

H ere,I have created an ADF read-only form on Deapartments table having navigation buttons and then embedded that region on Standard OAF Hello World page.
(Note: Before creating this,you must have JDeveloper 11g(for building ADF page) and correct JDeveloper patch for Oracle E-Business Suite version.
Also,it must be release 12.1.2 or later as rich container is not available in prevIoUs versions.)

Building ADF Page
1) Using 'New gallery',create a Fusion Web Application(ADF). This will create two projects (Model and ViewController).
2) Right click on Model and create new 'Business Components from tables'. Here,as we are creating only read-only form,we can skip step1 & 2 of this wizard and on step3 & 4,create read-only VO and AMreceptively.

3) Similarly,right click on ViewController and create a new Page under JSF/Facelets category (RightADFDepartmentsPG.jspx)

4) Now,from data controls,drag DepartmentsVO1 and drop on the page created as ADF Read-Only Form.

5) Also,in web.xml,make the following change (change the param-value to never):
<context-param>
<param-name>oracle.adf.view.rich.security.FRAME_BUSTING</param-name>
<param-value>never</param-value>
</context-param>
If this is not done,browser will not allow ADF region to appear on OAF page and will show an error message like 'This content cannot be displayed in a frame'.
6) Now right click on the page and run.
Creating function for the above ADF page in EBS
1) Set the value of 'External ADF Application URL' profile option at appropriate level (Site,Application,Responsibility,User) as shown below:
(ex: http://localhost:7101/ADFDemo-ViewController-context-root)

2) Go to 'Functional Administrator -> Core Services -> Functions -> Create Function' and enter the details as shown below:

3) Click Continue and enter page path as shown below:


4) Also,attach this function to the menu of responsibility from where you want to access this ADF Page.
Personalizing the Hello World page to embed the ADF Region
1) Go to Hello World page -> 'Personalize Page' link.
2) Create a new item of type 'Rich Container' as enter details as below:

相关文章

数据库版本:11.2.0.4 RAC(1)问题现象从EM里面可以看到,在23号早上8:45~8:55时,数据库等待会话暴增...
(一)问题背景最近在对一个大约200万行数据的表查看执行计划时,发现存在异常,理论上应该返回100多万...
(一)删除备份--DELETE命令用于删除RMAN备份记录及相应的物理文件。当使用RMAN执行备份操作时,会在RM...
(1)DRA介绍 数据恢复顾问(Data Recovery Advise)是一个诊断和修复数据库的工具,DRA能够修复数据文...
RMAN(Recovery Manager)是Oracle恢复管理器的简称,是集数据库备份(backup)、修复(restore)和恢复...
(1)备份对象 可以使用RMAN进行的备份对象如下: --整个数据库:备份所有的数据文件和控制文件; --数...