paramMap_editList.jsp 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <%@ include file="../common/header.jsp"%>
  2. <script type="text/javascript" language="javascript">
  3. <!--
  4. function doUpdateParamMap(group,name){
  5. var x = window.confirm("<bean:message key="confirm.edit"/>");
  6. if(x){
  7. document.forms.paramMap.group.value=group;
  8. document.forms.paramMap.name.value=name;
  9. document.forms.paramMap.action.value = "edit_ok";
  10. document.forms.paramMap.post.value = "true";
  11. document.forms.paramMap.submit();
  12. }
  13. }
  14. function doBack(){
  15. document.forms.paramMap.action.value="edit";
  16. document.forms.paramMap.submit();
  17. doDisable(document.forms.paramMap, "button");
  18. }
  19. -->
  20. </script>
  21. <!-- CONTENT -->
  22. <form name="paramMap" method="post" action="paramMap.do">
  23. <input type="hidden" name="action" value ="">
  24. <input type="hidden" name="group" value ="">
  25. <input type="hidden" name="name" value ="">
  26. <input type="hidden" name="post">
  27. <!--td width="80%" valign="top"-->
  28. <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
  29. <tr>
  30. <td class="titleHeader"><bean:message key="project.paramMap.key"/> - EDIT</td>
  31. </tr>
  32. </table>
  33. <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
  34. <tr><td colspan="7"><html:errors/></td></tr>
  35. <tr>
  36. <td align="center">
  37. <table width="100%" border="0" cellspacing="1" cellpadding="2">
  38. <tr>
  39. <td width="15%"><b><bean:message key="paramMap.group.key"/> <font color="#FF0000">*</font></b></td>
  40. <td width="1%">:</td>
  41. <td width="84%" colspan="4" align="left">
  42. <bean:write name="paramMap" property="id.group"/>
  43. </td>
  44. </tr>
  45. <tr>
  46. <td width="15%"><b><bean:message key="paramMap.name.key"/><font color="#FF0000">*</font></b></td>
  47. <td width="1%">:</td>
  48. <td width="84%" colspan="4" align="left">
  49. <bean:write name="paramMap" property="id.name"/>
  50. </td>
  51. </tr>
  52. <tr>
  53. <td width="15%"><b><bean:message key="paramMap.value.key"/><font color="#FF0000">*</font></b></td>
  54. <td width="1%">:</td>
  55. <td width="84%" colspan="4" align="left">
  56. <html:text name="paramMap" property="value"/>
  57. </td>
  58. </tr>
  59. <tr>
  60. <td width="15%"><b><bean:message key="paramMap.seq.key"/><font color="#FF0000">*</font></b></td>
  61. <td width="1%">:</td>
  62. <td width="84%" colspan="4" align="left">
  63. <html:text name="paramMap" property="seq"/>
  64. </td>
  65. </tr>
  66. <tr>
  67. <td width="15%"></td>
  68. <td width="1%"></td>
  69. <td width="84%" colspan="4" align="left">
  70. <input type="button" value="<bean:message key="button.back"/>" onclick="javascript:doBack();">
  71. &nbsp;
  72. <input type="button" value="<bean:message key="button.submit"/>" onclick="doUpdateParamMap('<bean:write name="paramMap" property="id.group"/>','<bean:write name="paramMap" property="id.name"/>');">
  73. </td>
  74. </tr>
  75. </table>
  76. </td>
  77. </tr>
  78. <tr>
  79. <td>&nbsp;</td>
  80. </tr>
  81. </table>
  82. </form>
  83. <!-- END CONTENT -->
  84. <%@ include file="../common/footer.jsp"%>