Developer Tools
JDeveloper
Be sure to select the SiteCC (oracle.model.mycompany) class in the Edit Customization Class dialog.
After adding the customization class, click Source in the adf-config.xml overview editor to view the code JDeveloper added for you. You should see the following code:
<adf-mds-config xmlns="http://xmlns.oracle.com/adf/mds/config">
<mds-config xmlns="http://xmlns.oracle.com/mds/config" version="11.1.1.000">
<cust-config>
<match path="/">
<customization-class name="oracle.model.mycompany.SiteCC"/>
</match>
</cust-config>
</mds-config>
</adf-mds-config>
Multiple customization layers can be applied on top of the application's base metadata. Layered customization is applied in the order of precedence as defined by the order of customization classes in the configuration file
adf-config.xml.
In
adf-config.xml, the
<cust-config> element in
<mds-config> specifies the customization classes and their order of precedence for a customized application. For example, the following code shows that customizations at the
industry layer are applied to the base application, and then customizations at the
site layer are applied:
<adf-mds-config xmlns="http://xmlns.oracle.com/adf/mds/config">
<mds-config xmlns="http://xmlns.oracle.com/mds/config" version="11.1.1.000">
<cust-config>
<match path="/">
<customization-class name="oracle.model.mycompany.IndustryCC"/>
<customization-class name="oracle.model.mycompany.SiteCC"/>
</match>
</cust-config>
</mds-config>
</adf-mds-config>
Copyright © 1997, 2009, Oracle. All rights reserved.