| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- <%@ include file="../common/header.jsp" %>
- <script type="text/javascript" language="javascript">
- <!--
- function doCreateRoutingTable(){
- var x = window.confirm("<bean:message key="confirm.create"/>")
- if (x) {
- document.forms.routingTable.action.value="create_ok";
- document.forms.routingTable.post.value = "true";
- document.forms.routingTable.submit();
- }
- }
- function doBack(){
- document.forms.routingTable.action.value="list";
- document.forms.routingTable.clear.value="true";
- document.forms.routingTable.submit();
- }
- -->
- </script>
- <!-- CONTENT -->
- <form name="routingTable" method="post" action="routingTable.do">
- <input type="hidden" name="action">
- <input type="hidden" name="clear">
- <input type="hidden" name="sequence">
- <input type="hidden" name="post">
- <input type="hidden" name="redirect" value="create">
- <!--td width="80%" valign="top"-->
- <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
- <tr>
- <td class="titleHeader" align="left"><bean:message key="project.routingTable.key"/> CREATE</td>
- </tr>
- </table>
- <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
- <tr>
- <td align="center">
- <table width="100%" border="0" cellspacing="1" cellpadding="2">
- <logic:messagesPresent property="error.routingTable">
- <tr>
- <td colspan="7">
- <font color="#FF0000"><html:errors property="error.routingTable"/></font>
- </td>
- </tr>
- </logic:messagesPresent>
- <tr>
- <td width="15%"><b><bean:message key="routingTable.codeStart.key"/> <font color="#FF0000">*</font></b></td>
- <td width="1">:</td>
- <td width="84%" colspan="5">
- <html:text name="routingTable" property="codeStart" size="30"/>
- </td>
- </tr>
- <tr>
- <td width="15%"><b><bean:message key="routingTable.codeEnd.key"/> <font color="#FF0000">*</font></b></td>
- <td width="1%">:</td>
- <td width="84%" colspan="5">
- <html:text name="routingTable" property="codeEnd" size="30"/>
- </td>
- </tr>
- <tr>
- <td width="15%"><b><bean:message key="routingTable.channel.key"/><font color="#FF0000">*</font></b></td>
- <td width="1%">:</td>
- <td width="84%" colspan="5">
- <html:text name="routingTable" property="channel" size="30"/>
- </td>
- </tr>
- <tr>
- <td width="15%" align="left" valign="top"><b><bean:message key="routingTable.startDate.key"/><font color="#FF0000">*</font></b></td>
- <td width="1%" align="left" valign="top">:</td>
- <td width="84%" colspan="5" align="left" valign="top">
- <input type="text" name="startDate" value="<logic:notEmpty name="routingTable" property="startDate"><bean:write name="routingTable" property="startDate.time" format="dd/MM/yyyy"/></logic:notEmpty>" size="15" maxlength="10" >
- <a href="javascript:cal_startDate.popup();"><img src="./images/cal.gif" width="16" height="16" border="0" alt=""></a>
- <script type="text/javascript" language="javascript">
- var cal_startDate = new calendar1(document.forms['routingTable'].elements['startDate']);
- </script>
-
- </td>
- </tr>
- <tr>
- <td width="15%" align="left" valign="top"><b><bean:message key="routingTable.endDate.key"/></b></td>
- <td width="1%" align="left" valign="top">:</td>
- <td width="84%" colspan="5" align="left" valign="top">
- <input type="text" name="endDate" value="<logic:notEmpty name="routingTable" property="endDate"><bean:write name="routingTable" property="endDate.time" format="dd/MM/yyyy"/></logic:notEmpty>" size="15" maxlength="10" >
- <a href="javascript:cal_endDate.popup();"><img src="./images/cal.gif" width="16" height="16" border="0" alt=""></a>
- <script type="text/javascript" language="javascript">
- var cal_endDate = new calendar1(document.forms['routingTable'].elements['endDate']);
- </script>
-
- </td>
- </tr>
- <tr>
- <td width="15%"><b><bean:message key="routingTable.queue.key"/><font color="#FF0000">*</font></b></td>
- <td width="1%">:</td>
- <td width="84%" colspan="5">
- <html:text name="routingTable" property="queue" size="30"/>
- </td>
- </tr>
- <tr>
- <td width="15%"><b><bean:message key="routingTable.subcodex.key"/></b></td>
- <td width="1%">:</td>
- <td width="84%" colspan="5">
- <%/*<select name="subcodex">
- <option value="">-- Pilih Salah Satu --</option>
- <logic:notEmpty name="codexList">
- <logic:iterate id="codexElement" name="codexList">
- <option value="<bean:write name="codexElement" property="id"/>"
- <logic:notEmpty name="routingTable" property="subcodex">
- <logic:equal name="routingTable" property="subcodex.id" value="${codexElement.id}">
- SELECTED
- </logic:equal>
- </logic:notEmpty>
- >
- <bean:write name="codexElement" property="id"/></option>
- </logic:iterate>
- </logic:notEmpty>
- </select>*/%>
- <html:text name="routingTable" property="subcodex" size="30"/>
- </td>
- </tr>
-
- <tr>
- <td width="15%"></td>
- <td width="1%"></td>
- <td width="84%" colspan="5"><input type="button" value="<bean:message key="button.back"/>" onclick="javascript:doBack();">
- <input type="button" value="<bean:message key="button.submit"/>" onclick="javascript:doCreateRoutingTable();"></td>
- <td colspan="4"> </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td> </td>
- </tr>
- </table>
- </form>
- <!-- END CONTENT -->
- <%@ include file="../common/footer.jsp"%>
-
|