adaptorParam_editList.jsp 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <%@ include file="../common/header.jsp"%>
  2. <script type="text/javascript" language="javascript">
  3. <!--
  4. function doUpdateAdaptorParam(adaptorId,name){
  5. var x = window.confirm("<bean:message key="confirm.edit"/>");
  6. if(x){
  7. document.forms.adaptorParam.adaptorId.value=adaptorId;
  8. document.forms.adaptorParam.name.value=name;
  9. document.forms.adaptorParam.action.value = "edit_ok";
  10. document.forms.adaptorParam.post.value = "true";
  11. document.forms.adaptorParam.submit();
  12. }
  13. }
  14. function doBack(){
  15. document.forms.adaptorParam.action.value="edit";
  16. document.forms.adaptorParam.submit();
  17. doDisable(document.forms.adaptorParam, "button");
  18. }
  19. -->
  20. </script>
  21. <!-- CONTENT -->
  22. <form name="adaptorParam" method="post" action="adaptorParam.do">
  23. <input type="hidden" name="action" value ="">
  24. <input type="hidden" name="adaptorId" 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.adaptorParam.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="adaptorParam.id.key"/> <font color="#FF0000">*</font></b></td>
  40. <td width="1%">:</td>
  41. <td width="84%" colspan="4" align="left">
  42. <bean:write name="adaptorParam" property="id.adaptorId"/>
  43. </td>
  44. </tr>
  45. <tr>
  46. <td width="15%"><b><bean:message key="adaptorParam.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="adaptorParam" property="id.name"/>
  50. </td>
  51. </tr>
  52. <tr>
  53. <td width="15%"><b><bean:message key="adaptorParam.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="adaptorParam" property="value"/>
  57. </td>
  58. </tr>
  59. <tr>
  60. <td width="15%"><b><bean:message key="adaptor.asynchronous.key"/></b></td>
  61. <td width="1%">:</td>
  62. <td width="84%" align="left" colspan="5">
  63. <SELECT name="asynchronous">
  64. <option value="">Pilih Salah Satu</option>
  65. <option value="0"
  66. <logic:equal name="adaptor" property="asynchronous" value="0">
  67. SELECTED
  68. </logic:equal>
  69. >Synchronous</option>
  70. <option value="1"
  71. <logic:equal name="adaptor" property="asynchronous" value="1">
  72. SELECTED
  73. </logic:equal>
  74. >Asynchronous</option>
  75. </SELECT>
  76. </td>
  77. </tr>
  78. <tr>
  79. <td width="15%"><b><bean:message key="adaptor.description.key"/></b></td>
  80. <td width="1%">:</td>
  81. <td width="84%" align="left" colspan="5">
  82. <html:text name="adaptor" property="description"/>
  83. </td>
  84. </tr>
  85. <tr>
  86. <td width="15%"></td>
  87. <td width="1%"></td>
  88. <td width="84%" colspan="4" align="left">
  89. <input type="button" value="<bean:message key="button.back"/>" onclick="javascript:doBack();">
  90. &nbsp;
  91. <input type="button" value="<bean:message key="button.submit"/>" onclick="doUpdateAdaptorParam('<bean:write name="adaptorParam" property="id.adaptorId"/>','<bean:write name="adaptorParam" property="id.name"/>');">
  92. </td>
  93. </tr>
  94. </table>
  95. </td>
  96. </tr>
  97. <tr>
  98. <td>&nbsp;</td>
  99. </tr>
  100. </table>
  101. </form>
  102. <!-- END CONTENT -->
  103. <%@ include file="../common/footer.jsp"%>