1、Oracle Application Framework Development FAQ Release 12Oracle Application Framework Development FAQ Release 12 ID 395437.1修改时间21-OCT-2010类型REFERENCE状态PUBLISHEDOA Framework Development Frequently Asked Questions (FAQ)OverviewThis document describes common problems and solutions related to ongoing dev
2、elopment using the OA Framework.SeeOracle Application Framework Installation Troubleshooting(Metalink Note 395446.1) for common problems and questions related to the installation and configuration of the OA Framework, and the deployment of OA Framework-based applications.ContentsThis document is org
3、anized into the following broad categories: Development Environment (General) What Version of Jdev to use with OAF Oracle 9i JDeveloper OA Extension BC4J Error Handling UI Featureso Buttons (Action/Navigation & Links)o Flexfieldso Headers and Subheaderso HGrido HTMLo List of Values (LOV)o Poplisto T
4、abs / Navigationo Tables (Classic and Advanced) Sorting Adding Rows Navigation Selection Others State Management Other/General DebuggingDevelopment EnvironmentQuestions1. The performance of the Tutorial JSPs is poor when using Netscape. How can I switch from Netscape to Internet Explorer when I run
5、the demo?(See Answer)2. What Java method should I use to set a profile value on the middle tier?(See Answer)3. What is the list of locales supported by UIX?(See Answer)Answers1.The performance of the Tutorial JSPs is poor when using Netscape. How can I switch from Netscape to Internet Explorer when
6、I run the demo?There are two known problems with Netscape: Netscape consumes so much available CPU time polling for server response, that the server actually doesnt get enough CPU time to do the server-side processing. Netscape takes a very long time to deal with embedded tables, which are used abun
7、dantly in UIX.OA Framework is certified against Netscape, but for now, we strongly recommend the usage of Microsoft Internet Explorer (IE) instead of Netscape.If Microsoft Internet Explorer is your default browser, launch Internet Explorer (IE), then select Tools/Internet Options. from the menu. Sel
8、ect the Programs tab and check Internet Explorer should check to see if it is the default browser. Close and restart IE. (Back to Question)2.What Java method should I use to set a profile value on the middle tier?You can use the call:webappscontext.getProfileStore().setProfile(name, value);(Back to
9、Question)3.What is the list of locales supported by UIX?The list of locales supported by UIX, and hence OA Framework, are:arar_AEar_BHar_DZar_EGar_IQar_JOar_KWar_LBar_LYar_MAar_OMar_QAar_SAar_SDar_SYar_TNar_YEbebe_BYbgbg_BGcaca_ESca_ES_EUROcscs_CZdada_DKdede_ATde_AT_EUROde_CHde_DEde_DE_EUROde_LUde_L
10、U_EUROelel_GRenen_AUen_CAen_GBen_IEen_IE_EUROen_NZen_USen_ZAeses_ARes_BOes_CLes_COes_CRes_DOes_ECes_ESes_ES_EUROes_GTes_HNes_MXes_NIes_PAes_PEes_PRes_PYes_SVes_UYes_VEetet_EEfifi_FIfi_FI_EUROfrfr_BEfr_BE_EUROfr_CAfr_CHfr_FRfr_FR_EUROfr_LUfr_LU_EUROhrhr_HRhuhu_HUisis_ISitit_CHit_ITit_IT_EUROiwiw_ILja
11、ja_JPkoko_KRltlt_LTlvlv_LVmkmk_MKnlnl_BEnl_BE_EUROnl_NLnl_NL_EUROnono_NOno_NO_NYplpl_PLptpt_BRpt_PTpt_PT_EUROroro_ROruru_RUshsh_YUsksk_SKslsl_SIsqsq_ALsrsr_YUsvsv_SEthth_THtrtr_TRukuk_UAzhzh_CNzh_HKzh_TW(Back to Question)What Version of Jdev to use with OAFSee Metalink note787209.1(Back to Question)
12、Oracle 9i JDeveloper and Oracle 9i JDeveloper OA ExtensionAttention: The files mentioned in some of these FAQs and answers refer to documents on Windows NT. For example, T:usersfwk. If you are using Linux, the file references are different. For example, /jdevhome/users/fwk/. Following are some commo
13、n drive letter translations from NT to Linux:J: = /jdevbinT: = /jdevhomeH: = /home/Questions1. When debugging my project, my source code and my classes seem to be out of sync.(See Answer)2. What is the difference between JDEV_HOME vs JDEV_USER_HOME?(See Answer)3. How do I enable OA Extension to run
14、against the old AK repository?(See Answer)4. How do I enable OA Extension to run against the new MDS repository (xml files only)?(See Answer)5. How do I enable OA Extension to run against the new MDS repository (database repository only)?(See Answer)6. How do I enable OA Extension to run against the
15、 new MDS repository (xml files and database repository)?(See Answer)7. Is there a standard directory hierarchy to follow when setting up our source code and Jdeveloper projects?(See Answer)8. How can I tell from which source OA Extension is getting my region data?(See Answer)9. OA Extension Preview
16、does not work. The last status message is starting preview and the log message displays 241 AMPoolMessageBundle (language base) being initialized.(See Answer)10. Why cant I get my pages to render correctly using Netscape as my browser?(See Answer)11. My JDeveloper editing layout is all messed up. Fo
17、r example, the Property Inspector is a floating window that will not dock. How can I fix this?(See Answer)12. The screen painting in JDeveloper is very slow in the Tarantella environment. How can I improve the performance?(See Answer)Answers1.When debugging my project, my source code and classes see
18、m to be out of sync.First simply try to rebuild all your projects. Always do so step by step and make sure the first project compiles completely before you start compiling the next one. If this doesnt help, then try deleting all classes from your.jdevmyclassesfolder and all subfolders. After that, r
19、ebuild all your projects again. Your source code and classes should be in sync again. (Back to Question)2.What is the difference between JDEV_HOME vs JDEV_USER_HOME?JDEV_HOME is an environment variable used by JDeveloper 3.2.3 and prior. JDEV_USER_HOME is a new environment variable used by JDevelope
20、r9i. You must define a JDEV_USER_HOME in order to run JDeveloper9i properly. JDEV_USER_HOME should point to:T:usersjdev(Back to Question)3.How do I enable OA Extension to run against the old AK repository?Modifying your env.txt file to have only the following line:FND_TOP=T:usersdbc_filesAlternative
21、ly, you can have the following three lines, where the application you want to run against AK is listed in the JRAD_APPS line preceded by a minus sign ( - ), as shown for the FND application below:FND_TOP=T:usersdbc_filesJRAD_XML_PATH=T:usersjdevmyprojectsJRAD_APPS=ak;-fnd;dem;icxThe minus sign force
22、s JDeveloper to run against the AK repository for that application. (Back to Question)4.How do I enable OA Extension to run against the new MDS repository (xml files only)?This can no longer be done. Now OA Extension searches for the region XML file on your hard drive as defined by the existence ofM
23、DS XML PATH= inProject - Project Settings -Oracle Applications. If OA Extension fails to locate the region XML file as defined byMDS XML PATHthen OA Extension proceeds to look for the regions in the MDS repository. The MDS repository exists in the database which is defined by your dbc file inProject
24、 - Project Settings - Oracle Applications - Runtime Connection. This means that there is no way to search for region XML files exclusively from your hard drive. (Back to Question)5.How do I enable OA Extension to run against the new MDS repository (database repository only)?If OA Extension fails to
25、locate the region XML file as defined byMDS XML PATHinProject - Project Settings -Oracle Applications, then OA Extension proceeds to look for the regions in the MDS repository. The MDS repository exists in the database which is defined by your dbc file inProject - Project Settings - Oracle Applicati
26、ons - Runtime Connection.Adding your application shortname forces OA Extension to use the MDS repository instead of the AK repository. (Back to Question)6.How do I enable OA Extension to run against the new MDS repository (xml files and database repository)?The settings that define what OA Extension
27、 runs against are defined inProject - Project Settings -Oracle ApplicationsandProject - Project Settings -Oracle Applications-Runtime Connection. OA Extension first checks that your application shortname is listed. If it is, OA Extension attempts to locate the region XML file in the directory locati
28、on specified byMDSXML PATH. If the region XML file cannot be found in that location then OA Extension fails over to the MDS repository. The MDS repository exists in the database defined by your dbc file. (Back to Question)7.Is there a standard directory hierarchy to follow when setting up my source
29、code and JDeveloper projects?Yes, make sure to follow the standard directory hierarchy for setting up your working directory:T:usersjdevmyprojects | myhtml | myclasses | system(Back to Question)8.How can I tell from which source OA Extension is getting my region data?If your regions are obtained fro
30、m OA Extension XML files, you should see messages of the following format in your output window:Accessing File System for /oracle/apps/(Back to Question)9.OA Extension Preview does not work. The last status message is starting preview and the log message displays 241 AMPoolMessageBundle (language base) being initialized.Remove your classes and perform a clean rebuild. If OA Extension cannot find a BC4J module like AM/VO, this error is thrown. (Back to Question)10.Why cant I get my pages to render correctly
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1