Office_Document_Sending_CreateOk.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:2k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="java.util.*" %>
- <%@ page import="java.sql.Timestamp" %>
- <%@ page import="com.vnex.intranet.workflow.document.value.SecurityType" %>
- <%@ page import="com.vnex.intranet.workflow.document.value.InstancyType" %>
- <%@ page import="com.vnex.intranet.workflow.document.value.DocumentSendValueBean" %>
- <%@ page import="com.vnex.intranet.workflow.pub.value.WorkflowFileValueBean" %>
- <%@ page import="com.vnex.intranet.util.*" %>
- <%@ page import="com.vnex.intranet.workflow.util.WorkFlowType" %>
- <jsp:useBean id="dsvb" scope="session" class="com.vnex.intranet.workflow.document.value.DocumentSendValueBean"/>
- <jsp:useBean id="documentProxy" scope="application" class="com.vnex.intranet.workflow.document.proxy.DocumentProxyBean" />
- <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
- <%
- dsvb = ( DocumentSendValueBean )session.getAttribute( "document" );
- %>
- <jsp:setProperty name="dsvb" property="*" />
- <%
- dsvb.setCreatorId( BusinessName.getEmpId() );
- dsvb.setTypeId( WorkFlowType.DOCUMENT );
- String dtype = request.getParameter("instancyType");
- dsvb.setInstancyType( InstancyType.getInstance( Integer.parseInt(dtype) ) );
- String stype = request.getParameter("securityType");
- dsvb.setSecurityType( SecurityType.getInstance( Integer.parseInt(stype) ) );
- String [] aaaa= request.getParameterValues("stepNos");
- dsvb.setStepNos( aaaa );
- if ( request.getParameter("type").equals("true" ) )
- documentProxy.createSendDoc( dsvb, true );
- else
- documentProxy.createSendDoc( dsvb, false );
- //清除session
- session.removeAttribute( "document" );
- %>
- <jsp:forward page="/mainctrl/office/document/sentlist?type=2" />