1
0

dbconn_create.jsp 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <%@ include file="../common/header.jsp" %>
  2. <script type="text/javascript" language="javascript">
  3. <!--
  4. function doCreatedbconn(){
  5. var x = window.confirm("<bean:message key="confirm.create"/>")
  6. if (x) {
  7. document.forms.dbconn.action.value="create_ok";
  8. document.forms.dbconn.post.value = "true";
  9. document.forms.dbconn.submit();
  10. }
  11. }
  12. function doBack(){
  13. document.forms.dbconn.action.value="list";
  14. document.forms.dbconn.clear.value="true";
  15. document.forms.dbconn.submit();
  16. }
  17. -->
  18. </script>
  19. <!-- CONTENT -->
  20. <form name="dbconn" method="post" action="dbconn.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. <tr>
  29. <td class="titleHeader" align="left"><bean:message key="project.dbconn.key"/> CREATE</td>
  30. </tr>
  31. </table>
  32. <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
  33. <tr>
  34. <td align="center">
  35. <table width="100%" border="0" cellspacing="1" cellpadding="2">
  36. <tr><td colspan="6"><html:errors/></td></tr>
  37. <tr>
  38. <td width="15%"><b><bean:message key="dbconn.id.key"/><font color="#FF0000">*</font></b></td>
  39. <td width="10">:</td>
  40. <td width="30%">
  41. <html:text name="dbconn" property="id" size="30"/>
  42. </td>
  43. <td width="5%">&nbsp;</td>
  44. <td width="15%">&nbsp;</td>
  45. <td width="10">&nbsp;</td>
  46. <td width="30%">&nbsp;</td>
  47. </tr>
  48. <tr>
  49. <td width="15%"><b><bean:message key="dbconn.driver.key"/><font color="#FF0000">*</font></b></td>
  50. <td width="10">:</td>
  51. <td width="30%">
  52. <html:text name="dbconn" property="driver" size="30"/>
  53. </td>
  54. <td width="5%">&nbsp;</td>
  55. <td width="15%">&nbsp;</td>
  56. <td width="10">&nbsp;</td>
  57. <td width="30%">&nbsp;</td>
  58. </tr>
  59. <tr>
  60. <td width="15%"><b><bean:message key="dbconn.url.key"/><font color="#FF0000">*</font></b></td>
  61. <td width="10">:</td>
  62. <td width="30%">
  63. <html:text name="dbconn" property="url"/>
  64. </td>
  65. <td width="5%">&nbsp;</td>
  66. <td width="15%">&nbsp;</td>
  67. <td width="10">&nbsp;</td>
  68. <td width="30%">&nbsp;</td>
  69. </tr>
  70. <tr>
  71. <td width="15%"><b><bean:message key="dbconn.username.key"/><font color="#FF0000">*</font></b></td>
  72. <td width="10">:</td>
  73. <td width="30%">
  74. <html:text name="dbconn" property="username"/>
  75. </td>
  76. <td width="5%">&nbsp;</td>
  77. <td width="15%">&nbsp;</td>
  78. <td width="10">&nbsp;</td>
  79. <td width="30%">&nbsp;</td>
  80. </tr>
  81. <tr>
  82. <td width="15%"><b><bean:message key="dbconn.password.key"/><font color="#FF0000">*</font></b></td>
  83. <td width="10">:</td>
  84. <td width="30%">
  85. <html:password name="dbconn" property="password"/>
  86. </td>
  87. <td width="5%">&nbsp;</td>
  88. <td width="15%">&nbsp;</td>
  89. <td width="10">&nbsp;</td>
  90. <td width="30%">&nbsp;</td>
  91. </tr>
  92. <tr>
  93. <td width="15%"><b><bean:message key="dbconn.schema.key"/><font color="#FF0000">*</font></b></td>
  94. <td width="10">:</td>
  95. <td width="30%">
  96. <html:text name="dbconn" property="schema"/>
  97. </td>
  98. <td width="5%">&nbsp;</td>
  99. <td width="15%">&nbsp;</td>
  100. <td width="10">&nbsp;</td>
  101. <td width="30%">&nbsp;</td>
  102. </tr>
  103. <tr>
  104. <td width="15%"></td>
  105. <td width="10"></td>
  106. <td width="30%"><input type="button" value="<bean:message key="button.back"/>" onclick="javascript:doBack();">
  107. &nbsp;<input type="button" value="<bean:message key="button.submit"/>" onclick="javascript:doCreatedbconn();"></td>
  108. <td colspan="4">&nbsp;</td>
  109. </tr>
  110. </table>
  111. </td>
  112. </tr>
  113. </table>
  114. </form>
  115. <!-- END CONTENT -->
  116. <%@ include file="../common/footer.jsp"%>