54b1a78f38d4464a3e2bc904ee574b23688f5e87.svn-base 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <%@ page contentType="text/html; charset=gb2312" language="java"%>
  2. <%@ page language="java" import="model.setup.constant.Collection" %>
  3. <%@ page language="java"
  4. import="com.sysmodel.datamodel.xmlmodel.ModelFactory,
  5. com.sysmodel.datamodel.xmlmodel.able.MdpConstant"%>
  6. <html>
  7. <head>
  8. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  9. <title>ÖÖÊ÷</title>
  10. <SCRIPT language="JavaScript" src="../../../scripts/checkinput.js"></SCRIPT>
  11. <script>
  12. function submitAction(codeName,nodeID,cmd,parentID){
  13. form1.action = "editExc.jsp?codeName="+codeName+"&nodeID="+nodeID+"&cmd="+cmd+"&parentID="+parentID ;
  14. form1.submit();
  15. }
  16. </script>
  17. <link href="../../../styles/css.css" rel="stylesheet" type="text/css">
  18. </head>
  19. <%
  20. String nodeID = request.getParameter("nodeID")==null?"":(String)request.getParameter("nodeID") ;
  21. String codeName = request.getParameter("codeName")==null?"":(String)request.getParameter("codeName") ;
  22. String parentID = request.getParameter("parentID")==null?"":(String)request.getParameter("parentID");
  23. Collection cs = new Collection(nodeID,codeName,request.getContextPath());
  24. MdpConstant constant = null;
  25. constant = ModelFactory.getSysmodel().getMdpConstantByName(codeName);
  26. %>
  27. <body onclick="document_onclick(event);" onkeyup="document_onkeyup(event);" bgcolor="#FFFFFF" topmargin="0" leftmargin="0" >
  28. <form name="form1" method="post" action="">
  29. <div id="total">
  30. <div class="whiteborder">
  31. <div class="titback">
  32. <div class="floatleft"><img src="../../../images/index/arrow1.gif" width="20" height="24" /></div>
  33. <div class="dropshadow"><%=constant.getDescription()%></div>
  34. <div class="clear"></div>
  35. </div>
  36. <div class="report">
  37. <%=cs.createDetailHTML(codeName,parentID)%>
  38. </div>
  39. <div class="btmbox">
  40. <input name="button" type="button" class="button" onclick="submitAction('<%=codeName%>','<%=nodeID%>','add','<%=parentID%>')" value="ÐÂÔö" >
  41. &nbsp;&nbsp;
  42. <input name="button2" type="button" class="button" onClick="document.form1.reset();" value="ÖØÖÃ" >
  43. </div>
  44. </div>
  45. </div>
  46. </form>
  47. </body>
  48. </html>