tell me more icon Customizing the JSF Pages and a View Object

A customized application contains a base application and one or more layers of customized metadata content. MDS stores the customized metadata objects in a metadata repository and retrieves them at runtime to reveal the customized application. When a customized application is launched, the customized content is applied over the base application.

The types of metadata customizations that can be made are:

  • User interface or view layer customizations
  • Model layer customizations
  • Controller layer customizations

Customizations can also be static or dynamic. Static customizations are customization contents that remain the same for the life of the deployment of the application. Dynamic customizations are customizations implemented in layers that allow the layer value to be determined at runtime (for example, customized contents at runtime could depend on the role of the user logged in).

In this example, you will be implementing static view layer customizations and model layer customizations.

In JDeveloper, before you make customizations in an application, you have to switch to the Customization Developer role. To switch roles, you will open the Preferences dialog. From the main menu, choose Tools then choose Preferences , then click Roles. In the Roles page, you will select Customization Developer and click OK.

Preferences dialog, Roles page

When changing roles, you have to restart JDeveloper. Upon restarting, you will see the Customization Context window where you will select a customization layer value from the site layer.

Customization Context window

The customizations you make after selecting a customization layer value will apply to the current layer value only. To implement customizations to another layer value, you will select a new value in the Customization Context window and then make the customizations.

In the example, you will be implementing these customizations:

  • In the site/headquarters layer value, add a Table component to the Browse page to display order items.
  • In the site/remoteoffices layer value, add an attribute to the OrderItemsView data control in the model layer. Then add a Table component to the Browse page to display order items. On the More page, add a Show Detail Header component around the components that make up the order form.

Copyright © 1997, 2009, Oracle. All rights reserved.

false ,,,,,,,,,,,,,,,