| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- <%@ include file="../common/header.jsp"%>
-
- <script type="text/javascript" language="javascript">
- <!--
-
- function doEditSearch(){
- document.forms.routingTable.action.value="edit_search";
- document.forms.routingTable.submit();
- doDisable(document.forms.routingTable, "button");
- }
-
-
- function doUpdateRoutingTableList(id){
- document.forms.routingTable.id.value=id;
- document.forms.routingTable.action.value = "edit_list";
- document.forms.routingTable.submit();
-
- }
- function doBack(){
- document.forms.routingTable.action.value="edit";
- document.forms.routingTable.submit();
- doDisable(document.forms.routingTable, "button");
- }
- -->
- </script>
- <!-- CONTENT -->
- <form name="routingTable" method="post" action="routingTable.do">
- <input type="hidden" name="action" value ="">
- <input type="hidden" name="id" value ="">
- <input type="hidden" name="post">
- <input type="hidden" name="status" value ="">
- <!--td width="80%" valign="top"-->
- <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
- <tr>
- <td class="titleHeader"><bean:message key="project.routingTable.key"/> - EDIT</td>
- </tr>
- </table>
- <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
- <tr><td><html:errors/></td></tr>
- <tr>
- <td align="center">
- <table width="100%" border="0" cellspacing="1" cellpadding="2">
- <logic:empty name="routingTableListUpdate">
- <logic:empty name="routingTable" property="channel">
- <tr align = "left">
- <td width="15%"><b><bean:message key="routingTable.channel.key" /></b></td>
- <td width="1%">:</td>
- <td width="84%" align="left" colspan="5">
- <input type="text" name="channelSearch" value="">
- </td>
- </tr>
- <tr align = "left">
- <td width="15%"></td>
- <td width="1%"></td>
- <td width="84%" align="left" colspan="5">
- <input type="button" value="<bean:message key="button.edit"/>" onclick="javascript:doEditSearch();">
- </td>
- </tr>
- <tr align = "left">
- <td width="15%"></td>
- <td width="1%"></td>
- <td width="84%" align="left" colspan="5">
- </td>
- </tr>
- <tr align = "left">
- <td width="15%"></td>
- <td width="1%"></td>
- <td width="84%" align="left" colspan="5">
- </td>
- </tr>
- </logic:empty>
- </logic:empty>
- <!--START LIST UPDATE ROUTING TABLE-->
- <logic:notEmpty name="routingTableListUpdate">
- <tr>
- <td width="5%" class="titleField"><div align="center">#</div></td>
- <td width="15%" align="left" height="10" valign="top" class="titleField"><bean:message key="routingTable.codeStart.key"/></td>
- <td width="15%" align="left" height="10" valign="top" class="titleField"><bean:message key="routingTable.codeEnd.key"/></td>
- <td width="15%" align="left" height="10" valign="top" class="titleField"><bean:message key="routingTable.channel.key"/></td>
- <td width="15%" align="left" height="10" valign="top" class="titleField"><bean:message key="routingTable.startDate.key"/> </td>
- <td width="15%" align="left" height="10" valign="top" class="titleField"><bean:message key="routingTable.endDate.key"/></td>
- <td width="15%" align="left" height="10" valign="top" class="titleField"><bean:message key="routingTable.queue.key"/></td>
- <td width="5%" class="titleField"> </td>
- </tr>
- <logic:notEmpty name="routingTableListUpdate">
- <logic:iterate id="element" name="routingTableListUpdate" scope="request" indexId="index">
- <%
- sequence++;
- String bgcolor = "FFFFFF";
- if(sequence%2 == 0){
- bgcolor = "EDEDE8";
- }
- %>
- <tr bgcolor="<% out.print(bgcolor); %>" onmouseover="mOvr(this);" onmouseout="mOut(this, '<% out.print(bgcolor); %>');">
- <td align="center" class="celBorder"><%=++seq%> </td>
- <td align="left" class="celBorder">
- <bean:write name="element" property="codeStart"/>
- </td>
- <td align="left" class="celBorder">
- <bean:write name="element" property="codeEnd"/>
- </td>
- <td align="left" class="celBorder">
- <bean:write name="element" property="channel"/>
- </td>
- <td align="left" class="celBorder">
- <logic:notEmpty name="element" property="startDate">
- <bean:write name="element" property="startDate.time" format="yyyy-MM-dd HH:mm:ss.SSS"/>
- </logic:notEmpty>
- </td>
- <td align="left" class="celBorder">
- <logic:notEmpty name="element" property="endDate">
- <bean:write name="element" property="endDate.time" format="yyyy-MM-dd HH:mm:ss.SSS"/>
- </logic:notEmpty>
- </td>
- <td align="left" class="celBorder">
- <bean:write name="element" property="queue"/>
- </td>
- <td align="center" class="celBorder">
- <a href="#" ><img src="./images/edit.gif" border="0" onclick="doUpdateRoutingTableList('<bean:write name="element" property="id"/>');" alt="update"></a>
- </td>
- </tr>
- </logic:iterate>
- </logic:notEmpty>
- <tr align = "left">
- <td width="100%" colspan="8"><input type="button" value="<bean:message key="button.back"/>" onclick="javascript:doBack();"></td>
- </tr>
- </logic:notEmpty>
- <!--END LIST UPDATE ROUTING TABLE-->
- </table>
- </td>
- </tr>
- <tr>
- <td> </td>
- </tr>
- </table>
- </form>
- <!-- END CONTENT -->
- <%@ include file="../common/footer.jsp"%>
-
|