码迷,mamicode.com
首页 > 其他好文 > 详细

ADF_Desktop Integration系列2_ADF桌面集成入门之开发简单ADF Desktop Excel

时间:2015-03-17 20:08:54      阅读:174      评论:0      收藏:0      [点我收藏+]

标签:

2013-05-01 Created By BaoXinjian

技术分享一、摘要


本教程介绍开发一个简单的Excel WorkSheet并与Fusion Web Application进行整合,将页面转换为Desktop Excel用以用户上传资料

案例目的:创建一个Query ExcelWorksheet用以查询Employee,创建一个Query/Update/Delete Excel Worksheet用以增删改Department

案例描述如下:

Part 1: Configuring the Environment to Support Desktop Integration 

Step 1: Enable Microsoft .Net Programmability Support

Step 2: Install the Oracle ADF 11g Desktop Integration Add-in for Excel

Step 3: Configure Excel to Run an Integrated Excel Workbook

Step 4: Load the Startup Fusion Web Application

Step 5: Check the Application‘s Database Connection

Part 2: Developing a Simple ADF Desktop Integration-enabled Excel Workbook 

Step 1: Creating the DepartmentsList Workbook

Step 2: Testing the DepartmentsList Workbook

Part 3: Developing a More Refined ADF Desktop Integration-enabled Excel Workbook 

Step 1: Creating the EditDept_LOV Workbook

Step 2: Setting Worksheet and Table Properties

Step 3: Defining a Query Ribbon Command

Step 4: Defining a Delete Rows Ribbon Command

Step 5: Defining an Upload Ribbon Command

Step 6: Testing the EditDept_LOV Workbook

Part 4: Publishing the Workbooks

Step 1: Publishing the DepartmentsList Workbook

Step 2: Publishing the EditDept_LOV Workbook

 

技术分享1: Creating the DepartmentsList Workbook 


Step1. 创建Microsoft Excel WorkBook 

技术分享

Step2. 查看所创建的Excel 

技术分享

Step3. 进行Data Binding时,选择数据来源PageDefinition 

技术分享

Step4. 查看页面对应的Page Definition文件 

技术分享

Step5. 查看Data Binding的数据Component 

技术分享

 Step6. 查看Data Binding时的属性参数

技术分享

Step7. 查看页面中的数据布局情况

技术分享

Step8. 查看数据Java EE Application 

技术分享

Step9. 设定Excel的Workbook和WorkSheet属性 

技术分享

Step10. 创建Download菜单项的Event 

技术分享

Step11. 创建Download菜单项的Action 

技术分享

 

技术分享2: Testing the DepartmentsList Workbook


Step1. 测试运行页面的测试结果

技术分享

Step2. 测试运行Excel,显示数据,进行Validate 

技术分享

Step3. 测试运行Excel,运行结果

技术分享

  

Thanks and Regards 

参考:Oracle - Oracle JDeveloper 11g Release 2 Tutorials 

技术分享

ADF_Desktop Integration系列2_ADF桌面集成入门之开发简单ADF Desktop Excel

标签:

原文地址:http://www.cnblogs.com/eastsea/p/4280235.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!