Modifying Navigation Menus

Navigation Menus provide a way to select different pages in a portal desktop. WebLogic Portal provides a default set of Navigation Menus:

If you want navigation menu behavior other than what is provided with the default menus, you can modify either of the default menus to suit your needs.

To modify one of the default navigation menus, do the following:

To modify the navigation menu file

  1. Open either .menu file in <project>\framework\markup\menu\.
  2. Inside the <netuix:markup> tag, modify the following attributes in the <netuix:singleLevelMenu ... /> or
    <netuix:multiLevelMenu ... />
    tag. Do not change the name of the tag.

    Be sure to leave the schema references in the file header.

  3. Save the file.

To modify the skeleton JSP file

  1. Back up the original skeleton JSP in case you want to revert back to it later. The skeleton files, multilevelmenu.jsp and singlelevelmenu.jsp, are located in the following directory: <project>\framework\skeletons\default.

    These files are also located in other skeleton directories. You will replace those files with the modified file when you are finished.
  2. Modify the skeleton JSP. Do not rename the file.

    The multilevelmenu.jsp skeleton file uses JavaScript functions contained in the menu.js, located in different skin directories under <project>\framework\skins.
  3. After you have finished modifying the JSP, copy it to the other relevant skeleton directories, replacing the existing versions of that file.

To use the modified navigation menu, in the Portal Designer select a book in the Document Structure window. In the Property Editor window, select the new navigation menu in the Navigation field. (The server must be running for the new navigation menu to appear in the Navigation drop-down list.)

Samples

See Portal Samples for instructions on viewing a sample portal file.

Related Topics

Creating Skeletons and Skeleton Themes

The Portal User Interface Framework

Setting up Navigation