ContentContainer region is used to display additional information on a page. Content container gives different look and feel to its content compared to other regions of OAF page.
Corresponding web bean: oracle.apps.fnd.framework.webui.beans.layout.OAContentContainerBean
UI property "Background Shade" (setBackground() method of bean) is used to set the background color.
Usage:
Though Content Container can be used anywhere in the OAF Page, it is typically placed at the side of the page in a dedicated column.
Below images are examples of usage of Content Container:
Implementation Approaches:
A) Within Page Content (Source: OAF Dev Guide)
B) At the side of your page (Source: OAF Dev Guide)
C) At the side of your page using TableLayout:
UI property "Background Shade" (setBackground() method of bean) is used to set the background color.
Usage:
Though Content Container can be used anywhere in the OAF Page, it is typically placed at the side of the page in a dedicated column.
Below images are examples of usage of Content Container:
Implementation Approaches:
A) Within Page Content (Source: OAF Dev Guide)
This will not provide better look and feel. But in case if requirement is such, then go ahead and create a region with "ContentContainer" style. Create content container region like any other region for example Header etc.
- Create a shared region for your content container.
- Programmatically add the shared region to the end area by writing following code in processRequest method:
OAContentContainerBean content = (OAContentContainerBean)createWebBean (pageContext,
"<full path of the shared content container region>",
"<full path of the shared content container region>",
null, // ignore item for regions
true); // using OAExtension
// Get the page layout bean
OAPageLayoutBean pageLayoutBean =
pageContext.getPageLayoutBean();
pageContext.getPageLayoutBean();
// Specify the content container as the end content.
pageLayoutBean.setEnd(content);
C) At the side of your page using TableLayout:
- This approach is not mentioned in Dev Guide and is very effective and very easy. This doesn't involve any Java programming.
- All you need to do is develop the layout of your page using the TableLayout region.
- Use the last column for ContentContainer.
- Using shared region is optional.
can you please explain detail for "At the side of your page using TableLayout" Implementation Approaches for ContentContainer
ReplyDeletecan you please explain detail for "At the side of your page using TableLayout" Implementation Approaches for ContentContainer.. please Help us....
ReplyDelete