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="persondocbean" 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" />
- <%
- persondocbean = ( DocumentSendValueBean )session.getAttribute( "persondocument" );
- %>
- <jsp:setProperty name="persondocbean" property="*" />
- <%
- persondocbean.setCreatorId( BusinessName.getEmpId() );
- persondocbean.setTypeId( WorkFlowType.PERSONAL );
- String dtype = request.getParameter("instancyType");
- persondocbean.setInstancyType( InstancyType.getInstance( Integer.parseInt(dtype) ) );
- String stype = request.getParameter("securityType");
- persondocbean.setSecurityType( SecurityType.getInstance( Integer.parseInt(stype) ) );
- String [] aaaa= request.getParameterValues("stepNos");
- persondocbean.setStepNos( aaaa );
- if ( request.getParameter("type").equals("true" ) )
- documentProxy.createSendDoc( persondocbean, true );
- else
- documentProxy.createSendDoc( persondocbean, false );
- //清除session
- session.removeAttribute( "persondocument" );
- %>
- <jsp:forward page="/mainctrl/personal/document/sentlist?type=2" />