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="persondocbean" 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/personal/document/sentdetail" />
  16. <%  }
  17.     else
  18.     { 
  19.         persondocbean = ( DocumentSendValueBean )session.getAttribute( "persondocument" );
  20. %>
  21. <jsp:setProperty name="persondocbean" property="*" />
  22. <%   
  23.         persondocbean.setTypeId( WorkFlowType.PERSONAL );
  24.     
  25.         String dtype = request.getParameter("instancyType");
  26.         persondocbean.setInstancyType( InstancyType.getInstance( Integer.parseInt(dtype) ) );
  27.         
  28.         String stype = request.getParameter("securityType");
  29.         persondocbean.setSecurityType( SecurityType.getInstance( Integer.parseInt(stype) ) );
  30.     
  31.         String [] aaaa= request.getParameterValues("stepNos");
  32.         persondocbean.setStepNos( aaaa ); 
  33.        
  34.         if ( request.getParameter("type") !=null &&request.getParameter("type").equals("true" ) )
  35.             documentProxy.modifySentDoc( persondocbean, true ); 
  36.         else
  37.             documentProxy.modifySentDoc( persondocbean, false ); 
  38.             
  39.         session.setAttribute( "persondocument", persondocbean );
  40. %>            
  41. <jsp:forward page="/mainctrl/personal/document/sentdetail?return=true" />
  42. <%    
  43.     }        
  44. %>