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="dsvb" 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/office/document/sentdetail" />
- <% }
- else
- {
- dsvb = ( DocumentSendValueBean )session.getAttribute( "document" );
- %>
- <jsp:setProperty name="dsvb" property="*" />
- <%
- 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.modifySentDoc( dsvb, true );
- else
- documentProxy.modifySentDoc( dsvb, false );
- session.setAttribute( "document", dsvb );
- %>
- <jsp:forward page="/mainctrl/office/document/sentdetail?return=true" />
- <%
- }
- %>