Document_Route_Subtask_Save.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:3k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="com.vnex.intranet.workflow.pub.value.*" %>
- <%@ taglib uri="/vnex_workflow.tld" prefix="workflow" %>
- <%@ page import="com.vnex.intranet.workflow.document.value.*" %>
- <%@ page import="com.vnex.intranet.workflow.util.*" %>
- <jsp:useBean id="persondocbean" scope="session" class="com.vnex.intranet.workflow.document.value.DocumentSendValueBean"/>
- <jsp:useBean id="routeValueBean" scope="page" class="com.vnex.intranet.workflow.pub.value.RouteValueBean" />
- <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
- <jsp:useBean id="subtaskValueBean" scope="page" class="com.vnex.intranet.workflow.pub.value.SubTaskValueBean" />
- <jsp:setProperty name="subtaskValueBean" property="*" />
- <%
- persondocbean = ( DocumentSendValueBean )session.getAttribute( "persondocument" );
- routeValueBean = persondocbean.getRoute();
- if ( request.getParameter("isNew") != null && request.getParameter("isNew").equals( "true" ) )
- {
- subtaskValueBean.setSubStatusId( SubTaskStatus.WAITING );
- routeValueBean.addSubtask( subtaskValueBean );
- }
- else if( request.getParameter("isNew") != null && request.getParameter("isNew").equals( "false" ) )
- {
- routeValueBean.setSubtask( Integer.parseInt( request.getParameter( "subtaskId") ), subtaskValueBean );
- }
- persondocbean.setRoute( routeValueBean );
- session.setAttribute( "persondocument", persondocbean );
- //修改发文
- if( request.getParameter("flag") != null && request.getParameter("flag").equals( "docModify" ) )
- { //继续增加
- if( request.getParameter("goon") != null && request.getParameter("goon").equals( "true" ) )
- {
- %>
- <jsp:forward page="/mainctrl/personal/document/sentsubtaskcreate?isDocCreate=docModify" />
- <% }
- if( request.getParameter("goon") != null && request.getParameter("goon").equals( "false" ) )
- {
- %>
- <jsp:forward page="/mainctrl/personal/document/sentupdate?comeback=1&flag=routeModify" />
- <%
- }
- }
- //创建发文
- if( request.getParameter("flag") != null && request.getParameter("flag").equals( "docCreate" ) )
- {
- if( request.getParameter("goon") != null && request.getParameter("goon").equals( "true" ) )
- {
- %>
- <jsp:forward page="/mainctrl/personal/document/sentsubtaskcreate?isDocCreate=docCreate" />
- <% }
- if( request.getParameter("goon") != null && request.getParameter("goon").equals( "false" ) )
- {
- %>
- <jsp:forward page="/mainctrl/personal/document/sentcreate" />
- <%
- }
- }
- %>