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="dsvb" 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.      dsvb = ( DocumentSendValueBean )session.getAttribute( "document" );
  10. %>
  11. <jsp:setProperty name="dsvb" property="*" /> 
  12. <%
  13.      if( request.getParameter("instancyType") != null )
  14.      {
  15.         String dtype = request.getParameter("instancyType");
  16.         dsvb.setInstancyType( InstancyType.getInstance( Integer.parseInt(dtype) ) );    
  17.      }  
  18.      if( request.getParameter("securityType") != null )
  19.      {  
  20.         String stype = request.getParameter("securityType");
  21.         dsvb.setSecurityType( SecurityType.getInstance( Integer.parseInt(stype) ) );
  22.      }   
  23.     
  24.      session.setAttribute( "document", dsvb );
  25.      dsvb = ( DocumentSendValueBean )session.getAttribute( "document" );
  26.      routeValueBean = dsvb.getRoute(); 
  27.      String [] sId = request.getParameterValues( "subId" );
  28.      routeValueBean.removeSubtasks( sId );
  29.      
  30.      dsvb.setRoute( routeValueBean );
  31.      session.setAttribute( "document", dsvb );
  32.      //修改发文
  33.      if( request.getParameter("isDocCreate") != null && request.getParameter("isDocCreate").equals( "docModify" ) ) 
  34.      {  
  35. %>      
  36. <jsp:forward page="/mainctrl/office/document/sentupdate?comeback=true" />
  37. <%        
  38.      }
  39.      //创建发文 
  40.      if( request.getParameter("isDocCreate") != null && request.getParameter("isDocCreate").equals( "docCreate" ) ) 
  41.      {        
  42. %> 
  43. <jsp:forward page="/mainctrl/office/document/sentcreate" />
  44. <%        
  45.      }   
  46. %>