Document_Route_Personal_Create.jsp
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:4k
源码类别:

电子政务应用

开发平台:

Java

  1. <%@ taglib uri="/vnex.tld" prefix="vnex" %>
  2. <%@ taglib uri="/vnex_workflow.tld" prefix="vnex_workflow" %>
  3. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  4. <%@ page import="com.vnex.intranet.pub.BusinessSession"%>
  5. <%@ page import="java.util.*"%>
  6. <%@ page import="com.vnex.intranet.workflow.util.*"%>
  7. <%@ page import="com.vnex.intranet.workflow.document.value.DocumentSendValueBean" %>
  8. <jsp:include page="/vnex/head.jsp"/>
  9. <jsp:useBean id="persondocbean" scope="session" class="com.vnex.intranet.workflow.document.value.DocumentSendValueBean"/>
  10. <jsp:useBean id="routeValueBean" scope="page" class="com.vnex.intranet.workflow.pub.value.RouteValueBean" />
  11. <jsp:useBean id="routeProxy" scope="application" class="com.vnex.intranet.workflow.route.proxy.RouteProxyBean" />
  12. <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
  13. <%  
  14.      persondocbean = ( DocumentSendValueBean )session.getAttribute( "persondocument" );
  15. %>
  16. <jsp:setProperty name="persondocbean" property="*" /> 
  17. <%
  18.     routeValueBean = persondocbean.getRoute(); 
  19.     //if( persondocbean.getTitle().equals("") )
  20.         routeValueBean.setRouteName( persondocbean.getTitle() );   
  21.     routeValueBean.setRouteName( persondocbean.getTitle() );     
  22.     routeValueBean.setDescription( persondocbean.getDescription() );     
  23.     routeValueBean.setRouteFiles( persondocbean.getFiles() );     
  24.     routeValueBean.setCreator( BusinessName.getEmpId() );     
  25.     routeValueBean.setRouteType( WorkFlowType.TEMPLATE_TYPE_PERSONAL );  
  26.     routeValueBean.setWorkflowTypeId( WorkFlowType.PERSONAL );
  27.     
  28.     routeProxy.createRoute( routeValueBean );     
  29.     
  30. %>
  31. <script language="javascript"> 
  32. function closeWin()
  33. {
  34.     window.close();
  35. }
  36. </script>
  37. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  38. <HTML>
  39. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  40. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  41. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_person.js"></script>
  42. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  43. <SCRIPT>
  44. window.onload=init
  45. </SCRIPT>
  46. <DIV align=center>
  47.   <form name="form1" method="post" >
  48.     <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  49.      <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  50.     <TR> 
  51.         <TD colSpan=3 align="center">
  52.           <br><!--个人信息开始 -->
  53.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  54.             <tr bgcolor="#fafafa"> 
  55.               <td bgcolor="#fafafa"> 
  56.                 <table class=title width="600" border="0" cellspacing="1" cellpadding="2">
  57.                   <tr bgcolor="#666666"> 
  58.                     <td colspan="2" height="15">&nbsp;<font class="strongw"><a href="/mainctrl/system/main"><font color="#FFFFFF">首页</font></a>&gt;&gt;<a href="/mainctrl/personal/main"><font color="#FFFFFF">个人办公</font></a>&gt;&gt;
  59.                     <a href="/mainctrl/office/document/sentlist"><font color="#FFFFFF">发文管理</font></a>&gt;&gt;保存个人工作流模板 
  60.                       </font></td>
  61.                   </tr>
  62.                   
  63.                 <tr bgcolor="#e0e0e0" >                
  64.                  <td align="center" >该路径存为个人模板成功!</td>
  65.                 </tr>
  66.                 <tr bgcolor="#fafafa">
  67.                 <td align="center" height="30"> 
  68.                   <input type="button" name="Submit" value="返回" onClick="history.back()" class="file">
  69.                   <br>
  70.                 </td>
  71.                 </tR>
  72.                </table> 
  73.                  </td> 
  74.                 </tr>
  75.           </table>
  76.           
  77. <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  78. </TD>
  79.     </TR>
  80.     <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  81.     </TABLE>
  82.   <BR>
  83.    <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  84. </form></DIV>
  85. </BODY></HTML>