亚洲免费在线-亚洲免费在线播放-亚洲免费在线观看-亚洲免费在线观看视频-亚洲免费在线看-亚洲免费在线视频

MetaData Service (MDS) in OA Framework

系統 2076 0
OAF的XML文件有:
  • 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的定義。



Table Details
JDR_PATHS Stores document paths, packages and there parent child relationship.
Primary Key: PATH_DOCID
JDR_COMPONENTS Stores components on documents and OA Framework pages.
Primary Key: COMP_DOCID, COMP_SEQ
JDR_ATTRIBUTES Stores attribute/properties of components on documents and OA Framework pages.
Primary Key: ATT_COMP_DOCID, ATT_COMP_SEQ, ATT_SEQ
JDR_ATTRIBUTES_TRANS Stores 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


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 久久久久久综合成人精品 | 日本a∨在线播放高清 | 欧美巨大xxxx做受孕妇视频 | 九一视频在线免费观看 | 国产免费无遮挡精品视频 | 国产精品欧美亚洲区 | 国产大战女模特在线视频 | 亚洲综合无码一区二区 | 免费福利在线播放 | a资源在线 | 天天干天天干天天 | 黄色成人毛片 | 久揄揄鲁一二三四区高清在线 | 午夜精品久久久久久久99 | 999热成人精品国产免 | 午夜欧美精品久久久久久久久 | 性做久久久久久坡多野结衣 | 欧美深度肠交惨叫 | 国产精品久久久久久久伊一 | bbw满足护士| 蘑菇视频绿巨人小黄鸭 | 国产永久免费高清动作片www | 久久精品2 | 久久这里只有精品1 | 91尤物国产尤物福利在线 | 日韩在线中文 | 狠狠色噜噜狠狠狠狠91 | 欧美成人一区二区 | 久草视频免费在线看 | 变态捡到女婴h养成调教 | 国产亚洲综合一区在线 | 久久这里只有精品首页 | 久久精品99视频 | 国产香蕉在线视频一级毛片 | 日韩人成免费网站大片 | 国产男女性特黄录像 | 国产无套乱子伦精彩是白视频 | 国产农村妇女一级毛片 | 欧美艹逼视频 | 一道本不卡免费视频 | 国产成人精品2021欧美日韩 |