Office_Document_Sending_CreateOk.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.SecurityType" %>
  5. <%@ page import="com.vnex.intranet.workflow.document.value.InstancyType" %>
  6. <%@ page import="com.vnex.intranet.workflow.document.value.DocumentSendValueBean" %>
  7. <%@ page import="com.vnex.intranet.workflow.pub.value.WorkflowFileValueBean" %>
  8. <%@ page import="com.vnex.intranet.util.*" %>
  9. <%@ page import="com.vnex.intranet.workflow.util.WorkFlowType" %>
  10. <jsp:useBean id="dsvb" scope="session" class="com.vnex.intranet.workflow.document.value.DocumentSendValueBean"/>
  11. <jsp:useBean id="documentProxy" scope="application" class="com.vnex.intranet.workflow.document.proxy.DocumentProxyBean" />
  12. <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
  13. <%
  14.     dsvb = ( DocumentSendValueBean )session.getAttribute( "document" );
  15. %>
  16. <jsp:setProperty name="dsvb" property="*" /> 
  17. <%
  18.              
  19.     dsvb.setCreatorId( BusinessName.getEmpId() );    
  20.     dsvb.setTypeId( WorkFlowType.DOCUMENT ); 
  21.              
  22.     String dtype = request.getParameter("instancyType");
  23.     dsvb.setInstancyType( InstancyType.getInstance( Integer.parseInt(dtype) ) );
  24.         
  25.     String stype = request.getParameter("securityType");
  26.     dsvb.setSecurityType( SecurityType.getInstance( Integer.parseInt(stype) ) );
  27.     
  28.     String [] aaaa= request.getParameterValues("stepNos");
  29.     dsvb.setStepNos( aaaa );         
  30.         
  31.     if ( request.getParameter("type").equals("true" ) )
  32.        documentProxy.createSendDoc( dsvb, true ); 
  33.     else
  34.        documentProxy.createSendDoc( dsvb, false ); 
  35.     //清除session   
  36.     session.removeAttribute( "document" );
  37. %>
  38. <jsp:forward page="/mainctrl/office/document/sentlist?type=2" />