Portal, Express Beta Version 6.1
Operating systems: i5/OS, Linux,Windows |
In V5.x, themes typically began rendering navigation at level 2 of the navigation model tree. Level one nodes (Home and Administration) were accessed by a Web address in the themes banner that explicitly identified that page. With migrated themes, this method creates problems if in V6.1 you assign the V5.x theme to a page that it was not assigned to in Version 5.x portal environment. For example, if you assigned the Version 5.x Administration theme to the Home page in V6.1, the theme would not provide any way to navigate to Administration because the V5.x Administration theme contained only a link to the Home page in the toolbar.
Use the following steps to avoid this problem.For detailed instructions, see the Implementing a single layer of navigation topic.
<% boolean isNodeVisible = true; //default to display it //page metadata value used on top level nodes to hide from main menu if (wpsNavNode instanceof com.ibm.portal.MetaDataProvider) { com.ibm.portal.MetaData iMetaData = ((com.ibm.portal.MetaDataProvider) wpsNavNode).getMetaData(); Object hiddenValue = iMetaData.getValue("com.ibm.portal.Hidden"); isNodeVisible = hiddenValue == null ? true: false; %>For more information on this code example, refer to mainMenu.jsp in the Portal theme