attribute_create.jsp 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <%@ include file="../common/header.jsp" %>
  2. <script type="text/javascript" language="javascript">
  3. <!--
  4. function doCreateAttribute(){
  5. var x = window.confirm("<bean:message key="confirm.create"/>")
  6. if (x) {
  7. document.forms.attribute.action.value="create_ok";
  8. document.forms.attribute.post.value = "true";
  9. document.forms.attribute.submit();
  10. }
  11. }
  12. function doBack(){
  13. document.forms.attribute.action.value="list";
  14. document.forms.attribute.clear.value="true";
  15. document.forms.attribute.submit();
  16. }
  17. -->
  18. </script>
  19. <!-- CONTENT -->
  20. <form name="attribute" method="post" action="attribute.do">
  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. <!--td width="80%" valign="top"-->
  27. <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
  28. <td class="titleHeader" align="left"><bean:message key="project.attribute.key"/> CREATE</td>
  29. </table>
  30. <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
  31. <tr>
  32. <td align="center">
  33. <table width="100%" border="0" cellspacing="1" cellpadding="2">
  34. <tr><td colspan="6"><html:errors/></td></tr>
  35. <tr>
  36. <td width="15%"><b><bean:message key="attribute.name.key"/><font color="#FF0000">*</font></b></td>
  37. <td width="1%">:</td>
  38. <td width="84%" colspan="5" align="left">
  39. <html:text name="attribute" property="name"/>
  40. </td>
  41. </tr>
  42. <tr>
  43. <td width="15%"><b><bean:message key="attribute.type.key"/><font color="#FF0000">*</font></b></td>
  44. <td width="1%">:</td>
  45. <td width="84%" colspan="5" align="left">
  46. <html:text name="attribute" property="type"/>
  47. </td>
  48. </tr>
  49. <tr>
  50. <td width="15%"><b><bean:message key="attribute.description.key"/></b></td>
  51. <td width="1%">:</td>
  52. <td width="84%" colspan="5" align="left">
  53. <html:textarea cols="40" rows="5" name="attribute" property="description"/>
  54. </td>
  55. </tr>
  56. <tr>
  57. <td width="15%"></td>
  58. <td width="10"></td>
  59. <td width="30%"><input type="button" value="<bean:message key="button.back"/>" onclick="javascript:doBack();"/>
  60. &nbsp;<input type="button" value="<bean:message key="button.submit"/>" onclick="javascript:doCreateAttribute();"/></td>
  61. <td colspan="4">&nbsp;</td>
  62. </tr>
  63. </table>
  64. </td>
  65. </tr>
  66. <tr>
  67. <td>&nbsp;</td>
  68. </tr>
  69. </table>
  70. </td>
  71. </form>
  72. <!-- END CONTENT -->
  73. <%@ include file="../common/footer.jsp"%>