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

电子政务应用

开发平台:

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.workflow.pub.value.WorkflowFileValueBean" %>
  6. <%@ page import="com.vnex.intranet.util.*" %>
  7. <jsp:useBean id="drvb" scope="request" class="com.vnex.intranet.workflow.document.value.DocumentReceivedValueBean"/>
  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.     drvb = ( DocumentReceivedValueBean )session.getAttribute( "recieveddocument" );
  12. %>
  13. <jsp:setProperty name="drvb" property="*" />
  14. <%                                 
  15.     drvb.setCreatorId( BusinessName.getEmpId() );
  16.     
  17.     String dtype = request.getParameter("type");
  18.     drvb.setType( DocumentReceivedType.getInstance( Integer.parseInt(dtype) ) );
  19.     
  20.     String stype = request.getParameter("securityType");
  21.     drvb.setSecurityType( SecurityType.getInstance( Integer.parseInt(stype) ) );
  22.     
  23.     documentProxy.createReceivedDoc( drvb );
  24.     session.removeAttribute( "recieveddocument" );
  25. %>
  26. <jsp:forward page="/mainctrl/office/document/receivedlist?type=2" />