04OAF客户化开发实例之FTP文件管理开发实例完结v10

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

AIMMD.070APPLICATIONEXTENSIONTECHNICALDESIGNFTP文件管理开发实例下册Author:Peng.YangCreationDate:January28,2010LastUpdated:April25,2013DocumentRef:Version:1.0Approvals:Approver1Peng.YangApprover2CopyNo._____MD.070ApplicationExtensionTechnicalDesignii/83DocRef:March18,2013DocumentControlChangeRecord3DateAuthorVersionChangeReference28-Jan-2010Peng.Yang1.0NoPreviousDocumentReviewersNamePositionDistributionCopyNo.NameLocation1LibraryMasterProjectLibrary2ProjectManager34NoteToHolders:Ifyoureceiveanelectroniccopyofthisdocumentandprintitout,pleasewriteyournameontheequivalentofthecoverpage,fordocumentcontrolpurposes.Ifyoureceiveahardcopyofthisdocument,pleasewriteyournameonthefrontcover,fordocumentcontrolpurposes.MD.070ApplicationExtensionTechnicalDesigniii/83DocRef:March18,2013ContentsDocumentControl..................................................................................................................ii开发介绍...................................................................................................................................1概述....................................................................................................................................1完成的目标........................................................................................................................2XP操作系统JDEV环境配置..............................................................................................3步骤1:创建OA工作台和OA项目..............................................................................5步骤2:设置项目的运行选项...........................................................................................6步骤3:创建页面模型组件..............................................................................................8步骤4:创建文档附件下载页面UI...............................................................................15步骤5:自定义客户化查询区域.....................................................................................16步骤6:在UploadfileEOImpl类中实现Delete..........................................................31步骤7:实现一个DeleteSwitcher................................................................................31步骤8:实现Delete动作...............................................................................................35步骤9(可选):创建和实现Status列............................................................................40步骤10:更新拷贝DocumentDownloadMGPG........................................................43步骤11:添加Update列到下载页.............................................................................51步骤12:实现Apply和Cancel按钮处理...................................................................55步骤13:修改DocumentDownloadMGPG查询页面,增加Create目录按钮........60步骤13:创建文档目录页面UI.....................................................................................61步骤14:实现浏览器后退按钮安全页初始化和创建/回滚方法.................................68步骤15:程序部署到EBS应用服务器中........................................................................75步骤16:OAF控制器中的日志查看..............................................................................78步骤17:如何找到页面所对应的源文件.......................................................................78OpenandClosedIssuesforthisDeliverable....................................................................80OpenIssues.....................................................................................................................80ClosedIssues..................................................................................................................80MD.070ApplicationExtensionTechnicalDesign1/83DocRef:March18,2013开发介绍概述本文当讲述了如何实现OAF文件管理页面功能。MD.070ApplicationExtensionTechnicalDesign2/83DocRef:March18,2013完成的目标完成此开发之后,需要掌握如下的课题:OAF开发环境搭建了解OAF框架的了解OAF开发规范遵循OAF页面的基本布局通过编写必要的程序实现页面直接的JSPForward启用WarnAboutChanges功能,帮助用户减少不必要的数据丢失工作实现实体对象、实体属性和行级的业务逻辑(包括抛出属性和行级的验证异常)在业务逻辑中使用视图对象验证和应用模块验证在基于实体对象的视图对象中添加一个新的行处理按钮的动作确保应用程序在使用浏览器中的Back按钮是安全的MD.070ApplicationExtensionTechnicalDesign3/83DocRef:March18,2013XP操作系统JDEV环境配置创建目录结构在jdev_install_dir\jdev目录下创建两个文件夹分别为myprojects和dbc_files,为了保持和ebs服务器一致,则在dbc_files下创建secure文件夹用于存放HostName_SID_Name.dbc文件,如下图所示。设置JDEV_USER_HOME环境变量1.选择我的电脑,右键选择属性2.在系统属性对话框中,选择tab高级页3.在高级tab页中选择环境变量按钮4.在环境变量对话框中,选择新建按钮创建用户变量5.在新建用户变量对话框中,输入变量名:JDEV_USER_HOME变量值:jdev_install_dir\jdev,例如:我在这里设置的变量值为:D:\JDeveloper9iCU3\jdevhome\jdev6.保存设置MD.070ApplicationExtensionTechnicalDesign4/83DocRef:March18,2013从ebs服务器上下载dbc文件到本地并进行修改ebs服务器中dbc文件所在位置:$FND_TOP/secure/HostName_SID_Name.dbc将erpuat_uat.dbc下载下来,将里面APPS_JDBC_URL=后面的内容反斜杠全部去除,即如下:APPS_JDBC_URL=jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=erpuat.yangpeng.com)(PORT=1522)))(CONNECT_DATA=(SID=UAT)))然后将该dbc文件放到$JDEV_HOME\jdevhome\jdev\dbc_files\secure路径下,例如我当前路径如下:D:\JDeveloper9iCU3\jdevhome\jdev\dbc_files\secure创建快捷方式为了方便快速启动,为jdev_install_dir\jdev\bin\jdevw.exe创建桌面快捷方式添加下面两个职责给自己的ebs用户以便开发和测试1.OAFrameworkToolBoxTutorial(职责关键字:FWK_TBX_TUTORIAL),即OAFramework工具教程2.OAFrameworkToolBoxTutorialLabs(职责关键字:FWK_TOOLBOX_TUTORIAL_LABS),即O

1 / 83
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功