Create a NetUI Extension File

5-8 Oracle Fusion Middleware Extending the Administration Console for Oracle WebLogic Server

5.6 Create a NetUI Extension File

A NetUI Extension file, named netuix-extension.xml, is the deployment descriptor for your Look and Feel. It contains the names and locations of the files in your Look and Feel, and it causes the Administration Console to replace its Look and Feel with yours. See Section 5–1, netuix-extension.xml. . For more information about this file, see the NetUI Extensions Schema Reference. Example 5–1 netuix-extension.xml ?xml version=1.0 encoding=UTF-8? weblogic-portal-extension xmlns=http:www.bea.comserversportalweblogic-portal8.0 xmlns:xsi=http:www.w3.org2001XMLSchema-instance xsi:schemaLocation=http:www.bea.comserversportalweblogic-portal8.0 netuix-extension-1_0_0.xsd provider-info titleMy LAFtitle version1.0version descriptionMy LAF.description authorMeauthor support-urlMy URLsupport-url provider-info portal-fileconsole.portalportal-file desktop-extension look-and-feel-content title=myLAF definitionLabel=myLAF markupName=myLookAndFeel skin=myLAF skin-path=frameworkskins skeleton=myLAF skeleton-path=frameworkskeletons default-window-icon=window-icon.gif default-window-icon-path=images weblogic-portal-extension To modify this file:

1. Open the file in a validating XML editor recommended or a text editor.

2. In the provider-info element, change the information to describe your Look

and Feel, developer contact and support URL. Table 5–6 Messages in Banner and Login Pages File Under root-dir Message Key and Value loginLoginForm.jsp window.title=Oracle WebLogic Server Administration Console login.wlsident=Oracle WebLogic Server Administration Console login.welcome2=Log in to work with the WebLogic Server domain login.username=Username: login.password=Password: login.submit=Log In frameworkskeletonmycompanyheader.js p window.title=Oracle WebLogic Server Administration Console Rebranding the Administration Console 5-9 The information in this element has no programmatic significance. It is intended to help your technical support team keep track of your software modifications. 3. In the look-and-feel-content element: a. In the title, skin, and skeleton attributes, replace the myLAF value with the name of the directory you chose in step 3 in Section 5.3, Expand the Look and Feel Template. b. In the definitionLabel and markupName attributes, replace the myLAF value with the name of the directory you chose in step 2 or use some other string. These attributes are required by the portal framework, but are not used in a Look and Feel extension.

5.7 Archive and Deploy the Extension