Drop-down list in OA Framework
Basic Steps:1.Define a lookup, lookups value are for drop-down list items.2.Create VO, this is used to query above lookups3.in Page file, Add a messageChoice type item in a region.4.Drop-down list with static itemsSimilar Postshttps://blogs.oracle.com/prajkumar/entry/implement_poplist_in_oa_frameworkhttp://newtonapples.com/message-choice/
Item Styles in OA Framework
messageStyledText - When you want to display only the text and the user should not be able to edit the text then we use the messageStyledText.messageTextInput - As the name implies it helps the users to enter data into this box.messageCheckBox - This helps to create check box in your page.messageRadioGroup- This helps to create radio buttons in your page.see also:http://newtonapples.com/message-radio-button/messageChoice - When you want to display a list of values in
Item Styles in OA Framework
messageStyledText - When you want to display only the text and the user should not be able to edit the text then we use the messageStyledText.messageTextInput - As the name implies it helps the users to enter data into this box.messageCheckBox - This helps to create check box in your page.messageRadioGroup- This helps to create radio buttons in your page.see also:http://newtonapples.com/message-radio-button/messageChoice - When you want to display a list of values in
JDev Run OAF Page Slowly
现象:从JDeveloper中Run OAF页面非常慢。原因:开发环境下,一定硬件配置,OAF页面运行的性能瓶颈主要在于网络。所以理想性能的OAF开发环境是,DB Server里安装JDev来开发OAF,这种最理想情况。一般情况下,想提升性能,最好保证DB Server和本机在同一个局域网络下。Server A是中国的服务器,我的开发环境是美国Linux机器,ping Server A,time大概在165ms左右,Run一个OAF页面非常慢,一个
Region Style in OA Framework
Regions are containers for for different items in a page.In a page there can be any number of regions inside regions and many number of items inside the region.Every region is a java bean acting as a container for regions under it or items.Regons inside another region is called Child Region and that is present in the same level as another region it is a Sibling.Region properties can be set like Style,ID,Rendered etc. There are small restrictions while creating the region which will affect the
How to Deploy a OAF Files
a) Copy all files except page definition from local machine to appropriate directories.The files such as Controllers *CO.class Application modules *AM.class View Objects *VOImpl.class, *VORowImpl.class, *VO.xml Entity objects *EO.xml, *EOImpl.javashould be deployed in the $JAVA_TOP/<path of your file>.b) Copy page definition(*PG.xml/*RG.xml) to $PROD_TOP/mdsc) Call java importerThe Page xml files(*PG.xml) and region
JDeveloper经常黑屏的问题(Windows 7)
Windows 7下,使用JDeveloper(我的版本:10.1.3.3.0)过程中,屏幕经常会黑掉(尤其是拖动滚动条的时候),好像断电似的,并且会很慢,过一会才恢复过来,有时还会报“显示器驱动程序已停止响应,并且已恢复”的警告。解决方法:$JDEV_HOME\jdevbin\jdev\bin\jdev.conf中增加下边的选项AddVMOption -Dsun.java2d.noddraw=true其实配置文件是有这项的,只不过默认安装下,被注释掉了,重新E
7 Tips For Better JDeveloper Experience
7 Tips For Better JDeveloper Experience from shay.shmeltzer
OAF Sample Code
Get the VO from the AMOAViewObject objAssessmentVO = (OAViewObject)yourAM.findViewObject("yourVO"); MtlLotNumbersVOImpl vo= (MtlLotNumbersVOImpl)findViewObject("MtlLotNumbersVO1"); MtlLotNumbersVORowImpl voi=(MtlLotNumbersVORowImpl)(vo.getCurrentRow()); mLotDetailValuesHT.put("StatusId",voi.getStatusId());First get the AM where your VO is attached, then get the VO from that AM.Get the RootAM and get all the VOs under that AM, usingwriteLog(pageContext, "
OAF MVC Architecture
MVCM:The Model is the place containing the business logic. V:The View is the presentation layer. C:The Controller manages the flow between pages.OAF MVC Architectureor1] ModelBC4J(Business Components For Java) have three basic component classes:Application Module - a container for related BC4J ObjectEntity Objects - encapsulate business rulesView Objects - present data to the Framework pageBC4J is used to Business Logic and Data Handling ModelModel contains the components which handles data di
MetaData Service (MDS) in OA Framework
OAF的XML文件有:UIX Pages and Regions.OAF PersonalizationsBC4J Substitutions (EO, VO Substitutions)BC4J Components (EO.xml, VO.xml, AM.xml, AO.xml, VL.xml)OAF的很多组件都是以XML的形式存在,但到最终的系统里,OAF的XML文件会存储到数据库表中(JDR_表)。MDS提供API(JDR_UTILS)从JDR表读取,并构建XML的定义。TableDetailsJDR_PATHSStores document paths, packages and there parent child relationship. Primary Key: PATH_DOCIDJDR_COMPONENTSStores components o
How to Run Standard OA Framework Pages from JDeveloper
1.FTP ClassesFTP All the .class & .xml files from $JAVA_TOP/oracle to your local PC, and put them into jdev/jdevhome/myclasses2.Source FilesFrom 1st step files,Also need copy necessary PROD files into source file directory: jdev\myprojects\oracle\apps\eg.If you want to run a WIP module page,Then you can only copy $JAVA_TOP/oracle/apps/wip/xxx/ to jdev\myprojects\oracle\apps\For source files, we don\'t need class files, so we can delete all the *.class files from jdev\myprojects\oracle\apps
Some JDeveloper Concepts and Tips
File Type:jpr jpx jwsjpr - JDeveloper Project Filejws - JDeveloper Workspace Filejpx - The.jpx file contains configuration information that JDeveloper uses in the design time to allow you to create the data model project.make vs rebuild"make" JDeveloper should detect that the .java file doesn\'t need recompiling and skip it; "rebuild" JDeveloper should recompile everything whether or not it needs it.Embedded OC4J ServerOracle Application Server Containers for J2EE (OC4J) is
JDeveloper Setup for OA Framework
Download JDeveloper 参考下边Note来下载JDev,不同版本的EBS需要下载不同版本的JDevNote 416708.1 - OA Framework - How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12.x ATG Release 12 VersionJDeveloper 10g Patch12.0.6 (patch 6728000 or patch 7237006)Patch 7523554 10G Jdeveloper With OA Extension ARU for R12 RUP612.1.2 (patch 7303033 or patch 7651091)Patch 9172975 10G JDEVELOPER WITH OA EXTENSION ARU FOR R12.1.212.1.3 (pat
How to check backend SQL query from a OAF pages
In a OAF Page, Click \'About this Page\'\'Business Component References Details\' AreaDrill Down,You will see View Objects(VO),click any VO you want, you will see detailed SQL Query which is associated to the VO.
OAF MVC Architecture
OAF is a java based application framework to develop web based applications that link to Oracle Applications instance while maintaining all the security features of that apps instance. A framework is a specialized set of related classes designed to make application development easier. In effect, a framework implements part of an application so developers don’t have to write all of its code from scratch; they can use the framework as the basis for their work and while focusing on the ad