Try OpenEdge Now
skip to main content
Customization Guide
Customizing the Business Process Portal : Hiding the Menu bar
 

Hiding the Menu bar

If you have integrated Business Process Portal with your corporate portal, and therefore, to utilize the screen "real-estate" effectively, you can hide the module menu bar of Business Process Portal screens. To do so, you need to modify the jsp file of the screen for which you want to hide the menu bar. Note that, if you want to hide the menu bar for the Task List page, you will have to modify the myhome\tasks.jsp and myhome\taskframe.jsp files from the $webapp\sbm\bpmportal directory. However, for other screens, you need to modify only the corresponding jsp file.
To hide the Menu bar:
1. Open the appropriate jsp file.
2. Locate the following code segment:
<%
String menu1 = "0";
String submenu1 = "0";
%>
<%@ include file="../common/include_menu_static.jsp" %>
Replace it with the following code segment:
<%
String menu1 = "0";
String submenu1 = "0";
String nomenu = request.getParameter("nomenu");
if ((nomenu != null) && (nomenu.length() > 0));
{
%>
<%@ include file="../common/include_menu_static.jsp" %>
<%
}
%>
3. Save the file.
4. While accessing the portal, you need to append ?nomenu=true to the current URL. For example, if you have hidden menu bar for the Task List page by modifying the myhome\tasks.jsp and myhome\taskframe.jsp files, then to access this page, you need to use the following URL, http://hostname:port/sbm/bpmportal/bizsite.task?nomenu=true
Note: Though the menu bar is hidden, users can still access the menus and screens using the keyboard shortcuts.s