Sometimes in OAF, you want to add a region to OA Page.
For example i had a requirement to add employee summary region to another page.
Employee Summary Page exists at MDS at this path "/oracle/apps/per/selfservice/common/webui/AsgSummaryRN".
Application module that is used with this region is "oracle.apps.per.selfservice.common.server.SummaryAM"
I wrote the following code to add this page to another page at controller of OA page
Thanks
For example i had a requirement to add employee summary region to another page.
Employee Summary Page exists at MDS at this path "/oracle/apps/per/selfservice/common/webui/AsgSummaryRN".
Application module that is used with this region is "oracle.apps.per.selfservice.common.server.SummaryAM"
I wrote the following code to add this page to another page at controller of OA page
ipublic void processRequest(OAPageContext pageContext, OAWebBean webBean) { super.processRequest(pageContext, webBean); OATableLayoutBean empSummaryBeean = (OATableLayoutBean)this.createWebBean(pageContext, "/oracle/apps/per/selfservice/common/webui/AsgSummaryRN", "AsgSummaryRN", true); empSummaryBeean.setApplicationModuleDefinitionName("oracle.apps.per.selfservice.common.server.SummaryAM"); empSummaryBeean.setStandalone(true); webBean.addIndexedChild(0, empSummaryBeean); }
Thanks
No comments:
Post a Comment