Document_Route_Subtask_Delete.jsp
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:2k
源码类别:

电子政务应用

开发平台:

Java

  1. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  2. <%@ page import="com.vnex.intranet.workflow.pub.value.*" %>
  3. <%@ taglib uri="/vnex_workflow.tld" prefix="workflow" %>
  4. <%@ page import="com.vnex.intranet.workflow.document.value.*" %>
  5. <jsp:useBean id="persondocbean" scope="session" class="com.vnex.intranet.workflow.document.value.DocumentSendValueBean"/>
  6. <jsp:useBean id="routeValueBean" scope="page" class="com.vnex.intranet.workflow.pub.value.RouteValueBean" />
  7. <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
  8. <%  
  9.      persondocbean = ( DocumentSendValueBean )session.getAttribute( "persondocument" );
  10. %>
  11. <jsp:setProperty name="persondocbean" property="*" /> 
  12. <%
  13.      if( request.getParameter("instancyType") != null )
  14.      {
  15.         String dtype = request.getParameter("instancyType");
  16.         persondocbean.setInstancyType( InstancyType.getInstance( Integer.parseInt(dtype) ) );    
  17.      }  
  18.      if( request.getParameter("securityType") != null )
  19.      {  
  20.         String stype = request.getParameter("securityType");
  21.         persondocbean.setSecurityType( SecurityType.getInstance( Integer.parseInt(stype) ) );
  22.      }  
  23.       
  24.      routeValueBean = persondocbean.getRoute(); 
  25.      String [] sId = request.getParameterValues( "subId" );
  26.      routeValueBean.removeSubtasks( sId );
  27.      
  28.      persondocbean.setRoute( routeValueBean );
  29.      session.setAttribute( "persondocument", persondocbean );
  30.      //修改发文
  31.      if( request.getParameter("isDocCreate") != null && request.getParameter("isDocCreate").equals( "docModify" ) ) 
  32.      {  
  33. %>      
  34. <jsp:forward page="/mainctrl/personal/document/sentupdate?comeback=1" />
  35. <%        
  36.      }
  37.      //创建发文 
  38.      if( request.getParameter("isDocCreate") != null && request.getParameter("isDocCreate").equals( "docCreate" ) ) 
  39.      {        
  40. %> 
  41. <jsp:forward page="/mainctrl/personal/document/sentcreate" />
  42. <%        
  43.      }   
  44. %>