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="persondocbean" 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.     persondocbean = ( DocumentSendValueBean )session.getAttribute( "persondocument" );
  15. %>
  16. <jsp:setProperty name="persondocbean" property="*" /> 
  17. <%
  18.              
  19.     
  20.     persondocbean.setCreatorId( BusinessName.getEmpId() );    
  21.     persondocbean.setTypeId( WorkFlowType.PERSONAL ); 
  22.              
  23.     String dtype = request.getParameter("instancyType");
  24.     persondocbean.setInstancyType( InstancyType.getInstance( Integer.parseInt(dtype) ) );
  25.         
  26.     String stype = request.getParameter("securityType");
  27.     persondocbean.setSecurityType( SecurityType.getInstance( Integer.parseInt(stype) ) );
  28.     
  29.     String [] aaaa= request.getParameterValues("stepNos");
  30.     persondocbean.setStepNos( aaaa );         
  31.         
  32.     if ( request.getParameter("type").equals("true" ) )
  33.        documentProxy.createSendDoc( persondocbean, true ); 
  34.     else
  35.        documentProxy.createSendDoc( persondocbean, false ); 
  36.     //清除session   
  37.     session.removeAttribute( "persondocument" );
  38. %>
  39. <jsp:forward page="/mainctrl/personal/document/sentlist?type=2" />