OracleArea51

Sponsored By Chola Global Services LLC

Shared Region and Adding Region to Page using Personalization

E-mail
(1 vote, average 5.00 out of 5)

Sometimes we need same information on several pages so instead of creating new region on every page we can create a common region and on respective page(where we want to use common information) we'll create one region and extend it to common region by setting region's extends property to common region's fully qualified path. This allows us to reuse the components and we can save development and maintenance cost.

Don't have an Vision instance to practice these tutorials? Visit http://cholagls.com/products-/11i-virtual-machine for details.Our smart solution to smart people like you !!

Same technique we can use to add a region to existing OAF Page using Personalization there are two limitations of it, please take care of these two
1. Id should be unique on the Page, So Shared region should not have any item with the same Id that already exists on any of the page where we are planning to use our shared region.
2. Using Paersonalization we can create and Extend only Stack Layout, so when you are going to create shared region make sure either it should be Stack Layout or a Layout which can be added as child of Stack Layout.

This approach is having very valuable Advantages specially through personalization, as you can add your own controller and AM to the Region so if there is any item which submits/partially submits the page you need not to extend the COntroller/Application Module of the page to handle the event. So we can say that it is very easy to extend the functionality of the OAF page using shared region.

In order to add Region using Personalization we can follow following steps:
1. Create new region, add controller/AM/VO(optional, depends on your requirement).
2. Move files to Java_top and import page
3. Personalize page to add new region
3.1: Create new region, set Item Style to Stack Layout, set Id
3.2: Set Extends property to fully Qualified path of your region and click on apply.

This approach will suite your needs if you want to create some controlles those are not possible to create using personalization like Advanced table and Submit button.

Reetesh
Points: 2031
Contact Author | Website :
 
Attachments:
Download this file (Region.doc)Attaching Region to OAF Page using Personalization[ ]242 Kb48 Downloads

Related Posts:

relatedArticles
Trackback(0)
Comments (0)add comment

Write comment

busy