Migrating Data from Oracle Content DB

16-2 Oracle Fusion Middleware Upgrade Guide for Oracle SOA Suite, WebCenter, and ADF ■ Panel Customizable Changes ■ Show Detail Frame Changes

16.1.1.1 General Changes

When you upgrade your WebCenter application, JDeveloper makes the following general changes to your application: ■ The namespace of customizable components in JSPX files is renamed from: http:xmlns.oracle.comadffacescustomizable To http:xmlns.oracle.comadffacescustomizablehtml ■ From web.xml, entries for the following are removed: – Context parameter oracle.mds.web-app-root – Filter mdsFilter – Filter mapping for mdsFilter – Servlet jsp2, servlet mapping for jsp2, and resource proxy ■ The Java Customizable Components library is removed and the WebCenter Customizable Components library is added. ■ The old Customizable Components tag libraries are removed and the new version Customizable Components HTML is added. ■ In import statements and declarations, if any, in Java files, the class name of Panel Customizable is changed to oracle.adf.view.html.component.customizable.PanelCustomizable . ■ In import statements and declarations, if any, in Java files, the class name of Show Detail Frame is changed to oracle.adf.view.html.component.customizable.ShowDetailFrame.

16.1.1.2 Panel Customizable Changes

A Panel Customizable component is a container for a group of Oracle ADF components, task flows, and portlets that you can make customizable at runtime. When you upgrade a WebCenter application, JDeveloper removes various attributes from Panel Customizable because they are no longer supported in Oracle WebCenter 11g. Table 16–1 lists Panel Customizable attribute changes in an upgraded WebCenter application. Additional Oracle WebCenter Upgrade Details 16-3 Example 16–1 shows the sample Panel Customizable code in the source view of a WebCenter 10.1.3.x application. Example 16–1 Panel Customizable Code in a WebCenter 10.1.3.x Application cust:panelCustomizable id=panelCustomizable1 text=panelCustomizable 1 displayHeader=true isMaximizable=true isMinimizable=true width=100 height=50px displayScrollBar=auto isShowContentEnabled=true Example 16–2 shows the sample Panel Customizable code after a WebCenter 10.1.3.x application has been upgraded to Oracle WebCenter 11g. Notice that attributes such as isMinimizable and displayHeader are removed from the Panel Customizable code. Example 16–2 Panel Customizable Code of a WebCenter 11g Application cust:panelCustomizable id=panelCustomizable1 xmlns=http:xmlns.oracle.comadffacescustomizablehtml Table 16–1 Panel Customizable Attribute Changes in an Upgraded WebCenter Application Attribute Attribute Availability in an Upgraded WebCenter Application DisplayHeader ExpansionMode Text Icon IsSeededInteractionA vailable IsMinimizable IsMaximizable IsMovable IsShowContentEnabled ContentInlineStyle DisclosureListener Background isEditable isHelpAvailable Removed. All these attributes are removed from an upgraded WebCenter application. A header is no longer supported for Panel Customizable. Therefore, DisplayHeader and certain other attributes, such as ExpansionMode, Text, and so on, that are dependent on the header being available are also removed. DisplayScrollBar Removed. However, to render scrollbars for the Panel Customizable content area, you can set the Layout attribute to Scroll. Width Height Deprecated. The usage of the Width and Height attributes is discouraged. It is recommended that you use the inlineStyle attribute to specify the width or height of Panel Customizable. For example, you can set inlineStyle=width:300px;height:500px;. 16-4 Oracle Fusion Middleware Upgrade Guide for Oracle SOA Suite, WebCenter, and ADF

16.1.1.3 Show Detail Frame

A Show Detail Frame component renders a border or chrome around a child component in your WebCenter application pages. It provides a header with an Actions menu that contains User Interface UI controls to customize the display of the child component. Table 16–2 lists the changes that JDeveloper makes to the attributes of the Show Detail Frame component when you upgrade your WebCenter application. Example 16–3 shows the sample code of Show Detail Frame in the source view of a WebCenter 10.1.3.x application page. Example 16–4 shows the sample Show Detail Frame code after this application is upgraded to Oracle WebCenter 11g. Notice that isMaximizable is removed and the isSeededInteractionAvailable, isMinimizable, isMovable, and ContentInlineStyle attributes are renamed. Example 16–3 Show Detail Frame Code of a WebCenter 10.1.3.x Application cust:showDetailFrame id=showDetailFrame1 text=showDetailFrame 1 isSeededInteractionAvailable=false isMaximizable=false isMinimizable=true isMovable=true contentInlineStyle=background-color:rgb0,255,255 Table 16–2 Changes Made to Show Detail Frame Attributes in Upgraded WebCenter Applications Attribute Description isMaximizable This attribute is removed from the upgraded application. isSeededInteractionAv ailable IsSeededInteractionAvailable=true is migrated to the following: ■ showMoveAction=menu ■ showMinimizeAction=chrome ■ showRemoveAction=chrome IsSeededInteractionAvailable=false is migrated to the following: ■ showMoveAction=none ■ showMinimizeAction=none ■ showRemoveAction=none isMovable This attribute is renamed to showMoveAction. The upgrade utility migrates isMovable=None|Menu to showMoveAction=none|menu, respectively. isMinimizable This attribute is renamed to showMinimizeAction. The upgrade utility migrates the isMinimizable=false|true to showMinimizeAction=none|chrome, respectively. expansionMode This attribute is removed from the upgraded application if expansionMode=maximized. If the value was set to normal or minimized, then the attribute is retained. ContentInlineStyle This attribute is renamed to InlineStyle.