Office_Document_Received_UpdateOk.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="session" 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.setReceivedDateS( request.getParameter("receivedDateS") );                             
  16.     drvb.setCreatorId( BusinessName.getEmpId() );
  17.     
  18.     String dtype = request.getParameter("type");
  19.     drvb.setType( DocumentReceivedType.getInstance( Integer.parseInt(dtype) ) );
  20.     
  21.     String stype = request.getParameter("securityType");
  22.     drvb.setSecurityType( SecurityType.getInstance( Integer.parseInt(stype) ) );   
  23.     
  24.     documentProxy.modifyReceivedDoc( drvb );
  25.     session.removeAttribute( "recieveddocument" );
  26. %>
  27. <jsp:forward page="/mainctrl/office/document/receivedlist?type=2" />