1
0

fileParam_create.jsp 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <%@ include file="../common/header.jsp" %>
  2. <script type="text/javascript" language="javascript">
  3. <!--
  4. function doCreateFileParam(){
  5. var x = window.confirm("<bean:message key="confirm.create" />");
  6. if (x) {
  7. document.forms.fileParam.action.value="create_ok";
  8. document.forms.fileParam.post.value = "true";
  9. document.forms.fileParam.submit();
  10. }
  11. }
  12. function doBack(){
  13. document.forms.fileParam.action.value="list";
  14. document.forms.fileParam.clear.value="true";
  15. document.forms.fileParam.submit();
  16. }
  17. -->
  18. </script>
  19. <!-- CONTENT -->
  20. <form name="fileParam" method="post" action="fileParam.do" enctype="multipart/form-data">
  21. <input type="hidden" name="action">
  22. <input type="hidden" name="clear">
  23. <input type="hidden" name="sequence">
  24. <input type="hidden" name="post">
  25. <input type="hidden" name="redirect" value="create">
  26. <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
  27. <tr>
  28. <td class="titleHeader" align="left"><bean:message key="project.fileParam.key"/> - CREATE</td>
  29. </tr>
  30. </table>
  31. <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
  32. <tr>
  33. <td align="center">
  34. <table width="100%" border="0" cellspacing="1" cellpadding="2">
  35. <logic:messagesPresent property="error.fileParam">
  36. <tr>
  37. <td colspan="7">
  38. <font color="#FF0000"><html:errors property="error.fileParam"/></font>
  39. </td>
  40. </tr>
  41. </logic:messagesPresent>
  42. <tr>
  43. <td width="15%"><b><bean:message key="fileParam.name.key"/> <font color="#FF0000">*</font></b></td>
  44. <td width="10">:</td>
  45. <td width="30%">
  46. <html:text name="fileParam" property="name" size="30" maxlength="32" />
  47. </td>
  48. <td width="5%">&nbsp;</td>
  49. <td width="15%">&nbsp;</td>
  50. <td width="10">&nbsp;</td>
  51. <td width="30%">&nbsp;</td>
  52. </tr>
  53. <tr>
  54. <td width="15%"><b><bean:message key="fileParam.value.key"/> <font color="#FF0000">*</font></b></td>
  55. <td width="10">:</td>
  56. <td width="30%">
  57. <html:text name="fileParam" property="value" size="30" maxlength="32" />
  58. </td>
  59. <td width="5%">&nbsp;</td>
  60. <td width="15%">&nbsp;</td>
  61. <td width="10">&nbsp;</td>
  62. <td width="30%">&nbsp;</td>
  63. </tr>
  64. <tr>
  65. <td width="15%"></td>
  66. <td width="10"></td>
  67. <td width="30%"><input type="button" value="<bean:message key="button.back"/>" onclick="javascript:doBack();">
  68. &nbsp;<input type="button" value="Submit" onclick="javascript:doCreateFileParam();"></td>
  69. <td colspan="4">&nbsp;</td>
  70. </tr>
  71. </table>
  72. </td>
  73. </tr>
  74. </table>
  75. </form>
  76. <!-- END CONTENT -->
  77. <%@ include file="../common/footer.jsp"%>