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

电子政务应用

开发平台:

Java

  1. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  2. <%@ page import="java.util.*" %>
  3. <%@ page import="java.sql.Timestamp" %>
  4. <%@ page import="com.vnex.intranet.workflow.document.value.*" %>
  5. <%@ page import="com.vnex.intranet.util.*" %>
  6. <%@ page import="com.vnex.intranet.workflow.util.WorkFlowType" %>
  7. <jsp:useBean id="dsvb" scope="request" class="com.vnex.intranet.workflow.document.value.DocumentSendValueBean"/>
  8. <jsp:useBean id="documentProxy" scope="application" class="com.vnex.intranet.workflow.document.proxy.DocumentProxyBean" />
  9. <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
  10. <%   
  11.     if ( request.getParameter("flag") !=null && request.getParameter("flag").equals("send" ) )
  12.     {
  13.         documentProxy.startDoc( Integer.parseInt( request.getParameter("id")) ); 
  14. %>
  15. <jsp:forward page="/mainctrl/office/document/sentdetail" />
  16. <%  }
  17.     else
  18.     { 
  19.         dsvb = ( DocumentSendValueBean )session.getAttribute( "document" );
  20. %>
  21. <jsp:setProperty name="dsvb" property="*" />
  22. <%   
  23.         dsvb.setTypeId( WorkFlowType.DOCUMENT );
  24.     
  25.         String dtype = request.getParameter("instancyType");
  26.         dsvb.setInstancyType( InstancyType.getInstance( Integer.parseInt(dtype) ) );
  27.         
  28.         String stype = request.getParameter("securityType");
  29.         dsvb.setSecurityType( SecurityType.getInstance( Integer.parseInt(stype) ) );
  30.     
  31.         String [] aaaa= request.getParameterValues("stepNos");
  32.         dsvb.setStepNos( aaaa ); 
  33.        
  34.         if ( request.getParameter("type").equals("true" ) )
  35.             documentProxy.modifySentDoc( dsvb, true ); 
  36.         else
  37.             documentProxy.modifySentDoc( dsvb, false ); 
  38.             
  39.         session.setAttribute( "document", dsvb );
  40. %>            
  41. <jsp:forward page="/mainctrl/office/document/sentdetail?return=true" />
  42. <%    
  43.     }
  44.         
  45. %>