codex_create.jsp 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <%@ include file="../common/header.jsp" %>
  2. <script type="text/javascript" language="javascript">
  3. <!--
  4. function doCreateCodex(){
  5. var x = window.confirm("<bean:message key="confirm.create" />");
  6. if (x) {
  7. document.forms.codex.action.value="create_ok";
  8. document.forms.codex.post.value = "true";
  9. document.forms.codex.submit();
  10. }
  11. }
  12. function doBack(){
  13. document.forms.codex.action.value="list";
  14. document.forms.codex.clear.value="true";
  15. document.forms.codex.submit();
  16. }
  17. -->
  18. </script>
  19. <!-- CONTENT -->
  20. <form name="codex" method="post" action="codex.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.codex.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.codex">
  36. <tr>
  37. <td colspan="7">
  38. <font color="#FF0000"><html:errors property="error.codex"/></font>
  39. </td>
  40. </tr>
  41. </logic:messagesPresent>
  42. <tr>
  43. <td width="15%"><b><bean:message key="codex.id.key"/> <font color="#FF0000">*</font></b></td>
  44. <td width="10">:</td>
  45. <td width="30%">
  46. <html:text name="codex" property="id" 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="codex.partial.key"/> <font color="#FF0000">*</font></b></td>
  55. <td width="10">:</td>
  56. <td width="30%">
  57. <input type="radio" name="radios" value="true" CHECKED>
  58. True
  59. <input type="radio" name="radios" value="false">
  60. False
  61. </td>
  62. <td width="5%">&nbsp;</td>
  63. <td width="15%">&nbsp;</td>
  64. <td width="10">&nbsp;</td>
  65. <td width="30%">&nbsp;</td>
  66. </tr>
  67. <tr>
  68. <td width="15%"><b><bean:message key="codex.xml.key"/> <font color="#FF0000">*</font></b></td>
  69. <td width="10">:</td>
  70. <td width="30%">
  71. <input type="file" name="uploadFile" value="<logic:notEmpty name="uploadFile_xml"><bean:write name="uploadFile_xml" /></logic:notEmpty>">
  72. </td>
  73. <td width="5%">&nbsp;</td>
  74. <td width="15%">&nbsp;</td>
  75. <td width="10">&nbsp;</td>
  76. <td width="30%">&nbsp;</td>
  77. </tr>
  78. <tr>
  79. <td width="15%"></td>
  80. <td width="10"></td>
  81. <td width="30%"><input type="button" value="<bean:message key="button.back"/>" onclick="javascript:doBack();">
  82. &nbsp;<input type="button" value="Submit" onclick="javascript:doCreateCodex();"></td>
  83. <td colspan="4">&nbsp;</td>
  84. </tr>
  85. </table>
  86. </td>
  87. </tr>
  88. </table>
  89. </form>
  90. <!-- END CONTENT -->
  91. <%@ include file="../common/footer.jsp"%>