Office_Document_Sent_UpdateOk.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.*" %>
- <%@ page import="com.vnex.intranet.util.*" %>
- <%@ page import="com.vnex.intranet.workflow.util.WorkFlowType" %>
- <jsp:useBean id="persondocbean" scope="request" 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" />
- <%
- if ( request.getParameter("flag") !=null && request.getParameter("flag").equals("send" ) )
- {
- documentProxy.startDoc( Integer.parseInt( request.getParameter("id")) );
- %>
- <jsp:forward page="/mainctrl/personal/document/sentdetail" />
- <% }
- else
- {
- persondocbean = ( DocumentSendValueBean )session.getAttribute( "persondocument" );
- %>
- <jsp:setProperty name="persondocbean" property="*" />
- <%
- 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") !=null &&request.getParameter("type").equals("true" ) )
- documentProxy.modifySentDoc( persondocbean, true );
- else
- documentProxy.modifySentDoc( persondocbean, false );
- session.setAttribute( "persondocument", persondocbean );
- %>
- <jsp:forward page="/mainctrl/personal/document/sentdetail?return=true" />
- <%
- }
- %>