routingTable_detail.jsp 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. <%@ include file="../common/header.jsp"%>
  2. <script type="text/javascript" language="javascript">
  3. <!--
  4. function doBack(){
  5. document.forms.routingTable.action.value="list";
  6. document.forms.routingTable.submit();
  7. }
  8. function doEdit(id){
  9. document.forms.routingTable.id.value=id;
  10. document.forms.routingTable.action.value="edit";
  11. document.forms.routingTable.submit();
  12. }
  13. function doInactive(id,status){
  14. var x = window.confirm(" Are you sure inactivate this record?")
  15. if (x) {
  16. document.forms.routingTable.id.value=id;
  17. document.forms.routingTable.status.value=status;
  18. document.forms.routingTable.action.value="update_status";
  19. document.forms.routingTable.submit();
  20. }
  21. }
  22. function doActive(id,status){
  23. var x = window.confirm(" Are you sure activate this record?")
  24. if (x) {
  25. document.forms.routingTable.id.value=id;
  26. document.forms.routingTable.status.value=status;
  27. document.forms.routingTable.action.value="update_status";
  28. document.forms.routingTable.submit();
  29. }
  30. }
  31. -->
  32. </script>
  33. <!-- CONTENT -->
  34. <form name="routingTable" method="post" action="routingTable.do">
  35. <input type="hidden" name="action" value ="">
  36. <input type="hidden" name="id" value ="">
  37. <input type="hidden" name="status" value ="">
  38. <!--td width="80%" valign="top"-->
  39. <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
  40. <tr>
  41. <td class="titleHeader"><bean:message key="project.routingTable.key"/> - DETAIL</td>
  42. </tr>
  43. </table>
  44. <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
  45. <tr>
  46. <td align="center">
  47. <table width="100%" border="0" cellspacing="1" cellpadding="2">
  48. <tr align = "left">
  49. <td width="15%"><b><bean:message key="routingTable.codeStart.key"/></b></td>
  50. <td width="1%">:</td>
  51. <td width="84%" colspan="4" align="left">
  52. <bean:write name="routingTable" property="codeStart"/>
  53. </td>
  54. </tr>
  55. <tr align = "left">
  56. <td width="15%"><b><bean:message key="routingTable.codeEnd.key"/></b></td>
  57. <td width="1%">:</td>
  58. <td width="84%" colspan="4" align="left">
  59. <bean:write name="routingTable" property="codeEnd"/>
  60. </td>
  61. </tr>
  62. <tr align = "left">
  63. <td width="15%"><b><bean:message key="routingTable.channel.key"/></b></td>
  64. <td width="1%">:</td>
  65. <td align="left" colspan="4" width="84%">
  66. <bean:write name="routingTable" property="channel"/>
  67. </td>
  68. </tr>
  69. <tr align = "left">
  70. <td width="15%"><b><bean:message key="routingTable.startDate.key"/></b></td>
  71. <td width="1%">:</td>
  72. <td align="left" colspan="4" width="84%">
  73. <logic:notEmpty name="routingTable" property="startDate">
  74. <bean:write name="routingTable" property="startDate.time" format="yyyy-MM-dd HH:mm:ss.SSS"/>
  75. </logic:notEmpty>
  76. </td>
  77. <td>&nbsp;</td>
  78. <td>&nbsp;</td>
  79. <td>&nbsp;</td>
  80. </tr>
  81. <tr align = "left">
  82. <td width="15%"><b><bean:message key="routingTable.endDate.key"/></b></td>
  83. <td width="1%">:</td>
  84. <td align="left" colspan="4" width="84%">
  85. <logic:notEmpty name="routingTable" property="endDate">
  86. <bean:write name="routingTable" property="endDate.time" format="yyyy-MM-dd HH:mm:ss.SSS"/>
  87. </logic:notEmpty>
  88. </td>
  89. </tr>
  90. <tr align = "left">
  91. <td width="15%"><b><bean:message key="routingTable.queue.key"/></b></td>
  92. <td width="1%">:</td>
  93. <td align="left" colspan="4" width="84%">
  94. <bean:write name="routingTable" property="queue"/>
  95. </td>
  96. </tr>
  97. <tr align = "left">
  98. <td width="15%"><b><bean:message key="routingTable.subcodex.key"/></b></td>
  99. <td width="1%">:</td>
  100. <td align="left" colspan="4" width="84%">
  101. <logic:notEmpty name="routingTable" property="subcodex">
  102. <bean:write name="routingTable" property="subcodex"/>
  103. </logic:notEmpty>
  104. </td>
  105. </tr>
  106. <tr align = "left">
  107. <td width="15%"><b><bean:message key="routingTable.createBy.key"/></b></td>
  108. <td width="1%">:</td>
  109. <td align="left" colspan="4" width="84%">
  110. <bean:write name="routingTable" property="createBy"/>
  111. </td>
  112. </tr>
  113. <tr align = "left">
  114. <td width="15%"><b><bean:message key="routingTable.createDate.key"/></b></td>
  115. <td width="1%">:</td>
  116. <td align="left" colspan="4" width="84%">
  117. <logic:notEmpty name="routingTable" property="createDate">
  118. <bean:write name="routingTable" property="createDate.time" format="yyyy-MM-dd HH:mm:ss.SSS"/>
  119. </logic:notEmpty>
  120. </td>
  121. </tr>
  122. <tr align = "left">
  123. <td width="15%"><b><bean:message key="routingTable.modifiedBy.key"/></b></td>
  124. <td width="1%">:</td>
  125. <td align="left" colspan="4" width="84%">
  126. <bean:write name="routingTable" property="modifiedBy"/>
  127. </td>
  128. </tr>
  129. <tr align = "left">
  130. <td width="15%"><b><bean:message key="routingTable.modifiedDate.key"/></b></td>
  131. <td width="1%">:</td>
  132. <td align="left" colspan="4" width="84%">
  133. <logic:notEmpty name="routingTable" property="modifiedDate">
  134. <bean:write name="routingTable" property="modifiedDate.time" format="yyyy-MM-dd HH:mm:ss.SSS"/>
  135. </logic:notEmpty>
  136. </td>
  137. </tr>
  138. <tr align = "left">
  139. <td width="15%"><b><bean:message key="routingTable.status.key"/></b></td>
  140. <td width="1%">:</td>
  141. <td align="left" colspan="4" width="84%">
  142. <bean:write name="routingTable" property="status"/>
  143. </td>
  144. </tr>
  145. <tr align = "left">
  146. <td></td>
  147. <td></td>
  148. <td></td>
  149. <td></td>
  150. <td></td>
  151. <td></td>
  152. <td></td>
  153. </tr>
  154. <tr>
  155. <td>&nbsp;</td>
  156. <td>&nbsp;</td>
  157. <td>
  158. <input type="button" value=<bean:message key="button.back" /> onclick="doBack();" value="Back">
  159. <%/*<logic:equal name="routingTable_status" value="ACTIVE">
  160. <input type="button" value=<bean:message key="button.inactive" /> onclick="doInactive('<bean:write name="routingTable" property="id"/>','INACTIVE');">
  161. </logic:equal>
  162. <logic:equal name="routingTable_status" value="INACTIVE">
  163. <input type="button" value=<bean:message key="button.active" /> onclick="doActive('<bean:write name="routingTable" property="id"/>','ACTIVE');">
  164. </logic:equal>
  165. <logic:equal name="routingTable_status" value="ACTIVE">
  166. <input type="button" value=<bean:message key="button.edit" /> onclick="doEdit('<bean:write name="routingTable" property="id"/>');">
  167. </logic:equal>*/%>
  168. <!-- <input type="button" value=<bean:message key="button.edit" /> onclick="doEdit('<bean:write name="routingTable" property="id"/>');" /> -->
  169. </td>
  170. <td>&nbsp;</td>
  171. <td>&nbsp;</td>
  172. <td>&nbsp;</td>
  173. </tr>
  174. </table>
  175. </td>
  176. </tr>
  177. <tr>
  178. <td>&nbsp;</td>
  179. </tr>
  180. </table>
  181. </form>
  182. <!-- END CONTENT -->
  183. <%@ include file="../common/footer.jsp"%>