WorkflowRoute_Navibar_Head.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:1k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page import="com.vnex.intranet.workflow.util.WorkFlowType" %>
- <%
- String sRouteType = request.getParameter("routeType");
- System.out.println("<<<<<<<<<<<<the route 1 =="+ sRouteType);
- if ( sRouteType == null )
- sRouteType = (String)session.getAttribute("routeType");
- int routeType = Integer.parseInt( sRouteType );
- if ( sRouteType != null )
- session.setAttribute( "routeType" , sRouteType);
- System.out.println("<<<<<<<<<<<<the route 2=="+ routeType);
- String firstLevelLink = "";
- String secondLevelLink = "";
- String firstLevelText = "";
- String secondLevelText ="";
- if ( routeType == WorkFlowType.TEMPLATE_TYPE_PERSONAL )
- {
- out.println( "<script language='JavaScript1.2' src='/vnex/menu/dockmenu_person.js'></script>" );
- firstLevelLink = "/mainctrl/personal/main";
- secondLevelLink = "/mainctrl/template/maintainRoute?routeType=1";
- firstLevelText = "个人办公";
- secondLevelText = "个人工作流模板";
- }
- if ( routeType == WorkFlowType.TEMPLATE_TYPE_COMMON )
- {
- out.println( "<script language='JavaScript1.2' src='/vnex/menu/dockmenu_system.js'></script>" );
- firstLevelLink = "/mainctrl/system/main";
- secondLevelLink = "/mainctrl/template/maintainRoute?routeType=2";
- firstLevelText = "系统管理";
- secondLevelText = "标准工作流模板";
- }
- %>