EditWorkflow.jsp 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <%@ include file="/include/head.jsp"%>
  3. <%@ page contentType="text/html;charset=GBK"%>
  4. <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
  5. <%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
  6. <%@ taglib uri="/WEB-INF/tlds/html.tld" prefix="html" %>
  7. <html>
  8. <head>
  9. <title>过程编辑>></title>
  10. <link href="/shares/resources/css/type1.css" rel="stylesheet" type="text/css" />
  11. <link type="text/css" href="/shares/resources/css/themes/redmond/ui.all.css" rel="stylesheet" />
  12. <script type="text/javascript" src="/ynet/js/jquery-1.3.2.min.js"></script>
  13. <SCRIPT LANGUAGE="JavaScript">
  14. function submitForm(){
  15. if (theForm.WorkflowName.value=="") {window.alert("名称不能为空");return("");}
  16. if (theForm.Item1.value=="") {window.alert("项目不能为空");return("");}
  17. theForm.submit();
  18. }
  19. </SCRIPT>
  20. </head>
  21. <body>
  22. <form name="theForm" method="POST" action="SubmitWorkflow.do?id=${id}">
  23. <%@ include file="/include/top.jsp"%>
  24. <input class="small" type="button" value="提交" name="B1" onclick="submitForm()">
  25. <div>
  26. <table border="0" cellspacing="1" width="100%" class=tab_table>
  27. <tr>
  28. <td class="caption" >名称<font color="red">*</font></td>
  29. <td class="detail" ><input type="text" name="WorkflowName" size="20" value='${workflow.workflowName}'></td>
  30. </tr>
  31. <tr>
  32. <td class="caption" >启动任务<font color="red">*</font></td>
  33. <td class="detail" >
  34. <input name="FirstTask" value="${workflow.firstTask}">
  35. </td>
  36. </tr>
  37. <tr>
  38. <td class="caption" >业务关键字<font color="red">*</font></td>
  39. <td class="detail" ><input type="text" name="Item1" size="20" value='${workflow.item1}'></td>
  40. </tr>
  41. <tr>
  42. <td class="caption" >角色<font color="red">*</font></td>
  43. <td class="detail" >
  44. <html:select name="Role" table="t_role" title="role_name" id="universalid" initValue=""/>
  45. </td>
  46. </tr>
  47. <tr>
  48. <td class="caption" >变量源</td>
  49. <td class="detail" >
  50. <select name="ViewAppId" class="formselect">${wfForms}</select>
  51. </td>
  52. </tr>
  53. <tr>
  54. <td class="caption" >定义文件</td>
  55. <td class="detail" >
  56. <input name="fileName" size="60" value="${workflow.fileName}">
  57. </td>
  58. </tr>
  59. </table>
  60. ${wfTasks}
  61. </div>
  62. </form>
  63. </body>
  64. </html>