void initPageTasks() throws Exception {
MenuTree tree = NavigationManager.getMenuTree(PageTaskMenuTree.PAGE_TASK_MENU_TREE);
// Tunnels showTunnels
tree.addMenuItem(null, new MenuItem("showTunnels", null, null, 100, false, SessionInfo.MANAGEMENT_CONSOLE_CONTEXT));
tree.addMenuItem("showTunnels", new MenuItem("createTunnel",
MESSAGE_RESOURCES_KEY,
"/defaultTunnelDetails.do",
100,
true,
"_self",
SessionInfo.MANAGEMENT_CONSOLE_CONTEXT, SSL_TUNNEL_RESOURCE_TYPE,
new Permission[] { PolicyConstants.PERM_CREATE_EDIT_AND_ASSIGN }));
// Networking userNetworkPlaces
tree.addMenuItem(null, new MenuItem("showUserTunnels", null, null, 100, false, SessionInfo.USER_CONSOLE_CONTEXT));
tree.addMenuItem("showUserTunnels", new MenuItem("createPersonalTunnel",
MESSAGE_RESOURCES_KEY,
"/defaultTunnelDetails.do",
100,
true,
"_self",