MetaData Service (MDS) in OA Framework
来源:互联网 发布:返利直销软件 编辑:程序博客网 时间:2024/05/16 06:51
- UIX Pages and Regions.
- OAF Personalizations
- BC4J 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的定义。
Primary Key: PATH_DOCIDJDR_COMPONENTSStores components on documents and OA Framework pages.
Primary Key: COMP_DOCID, COMP_SEQJDR_ATTRIBUTESStores attribute/properties of components on documents and OA Framework pages.
Primary Key: ATT_COMP_DOCID, ATT_COMP_SEQ, ATT_SEQJDR_ATTRIBUTES_TRANSStores translated attribute values of document components or OA framework pages.
Primary Key: ATL_COMP_DOCID, ATL_LANG, ATL_COMP_REF, ATL_NAME
JDR_UTILS API
How to get page or region contents from MDS repository
BEGIN
jdr_utils.printDocument('/oracle/apps/fnd/framework/toolbox/tutorial/webui/HelloWorldPG',1000);
END;
Lists all the MDS documents of specified directory currently imported into database.
BEGIN
jdr_utils.listdocuments ('/oracle/apps/per/selfservice.webui', TRUE ) ;
END
Delete a Page from MED repository
BEGIN
jdr_utils.deletedocument ('p_document => /oracle/apps/per/selfservice/webui/somepagePG') ;
END ;
In jDeveloper, when I build a page and its regions, it looks I am building an XML file. Is page definition stored as XML file in OA Framework?
The storage page definition happens in JDR tables, where page components are not stored as XML. But MDS provides API's to build XML definition from the data in JDR tables.
Hence there are two provisions
1. When you design a page, you store "page definiton" in XML format on your pc. When deploying to your system/server, you load this XML file into JDR tables by using command xmlimporter
2. When a user runs the page, OA Framework does the following steps:-
Step a. OA Fwk Requests page definition/structure from (MDS) --note its cached too
Step b. MDS engine returns a xml file to OA Framework
Step c. Each node/component in XML(of Step b) is translated into a web bean object. Let's say your page has
Region-Main
field1
Regionchild
Button
In this case, four web beans objects will be instantiated by OA Framework. A bean object is nothing but an object representation components like fields, buttons, regions etc. A bean object also has methods like setRendered, setRequired, getRequired etc.
Step d. Not only we have beans created for that page, those beans are nested as well, in exactly the same sequence of components within Region-Main. Hence parent child relationship is retained.
Step e. After rendering the page,OA Framework then calls the controller class for that MDS page. The page is displayed to user after processRequest in Controller is completed.
refer:http://oracle.anilpassi.com/mds-in-oa-framework-what-exactly-it-is-2.html
- MetaData Service (MDS) in OA Framework
- Region Style in OA Framework
- Item Styles in OA Framework
- Drop-down list in OA Framework
- The base operation about Metadata Service in sharepoint 2013
- [openstack]metadata service使用方法
- Metadata Service 架构详解
- Metadata Service 架构详解
- mds
- MDS
- mds
- ebs 12.1 oa framework
- javax.xml.ws.WebServiceException: WSDL Metadata not available to create the proxy, either Service in
- Flex Metadata in ActionScript3
- Managed MetaData in Sharepoint
- How to set the sequence value while saving the record in OA Framework
- How To Get Log, Trace Files In OA Framework Pages And Concurrent Request Programs
- Managed Metadata Service Application(一)创建Managed Metadata Service Application
- 图像平滑、滤波、模糊
- Hoj 1030 Labyrinth
- 小技巧:打造个性化U盘图标
- python获取汉字的拼音
- C# Thread类的应用
- MetaData Service (MDS) in OA Framework
- 软件使用配置及连接
- Bacon's Cipher hdu4144 水题
- 魏永明谈“自主”操作系统
- HDFS文件操作命令
- Oracle9i 安装完全教程
- Android学习:将ListView中id与数据库中id关联
- Android异步加载网络图片
- 简单医药项目的疾病分类二级联动