| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179 |
- <%@ include file="../common/header.jsp" %>
- <script type="text/javascript" language="javascript">
- <!--
- function doCreateReconProcess(){
- var x = window.confirm("<bean:message key="confirm.create"/>")
- if (x) {
- document.forms.reconProcess.action.value="create_reconProcess_ok";
- document.forms.reconProcess.post.value = "true";
- document.forms.reconProcess.submit();
- }
- }
- function doBack(){
- document.forms.reconProcess.action.value="list";
- document.forms.reconProcess.clear.value="true";
- document.forms.reconProcess.submit();
- }
-
- function doAddReconProcess(){
- document.forms.reconProcess.addReconProcessBtn.disabled=true;
- document.forms.reconProcess.action.value="add_reconProcess";
- document.forms.reconProcess.submit();
- }
-
- function doEditReconProcess(sequence){
- document.forms.reconProcess.action.value="edit_reconProcess";
- document.forms.reconProcess.sequence.value=sequence;
-
- document.forms.reconProcess.submit();
- }
- function doDeleteReconProcess(sequence){
- var x = window.confirm("<bean:message key="confirm.delete"/>");
- if(x){
- document.forms.reconProcess.action.value="delete_reconProcess";
- document.forms.reconProcess.sequence.value=sequence;
- document.forms.reconProcess.submit();
- }
- }
- -->
- </script>
- <!-- CONTENT -->
- <form name="reconProcess" method="post" action="rekonConfig.do">
- <input type="hidden" name="action"/>
- <input type="hidden" name="clear"/>
- <input type="hidden" name="sequence"/>
- <input type="hidden" name="post"/>
- <logic:notEmpty name="idx"><input type="hidden" name="idx" value="<bean:write name="idx"/>"></logic:notEmpty>
- <input type="hidden" name="ts" value="<logic:notEmpty name="ts"><bean:write name="ts" /></logic:notEmpty>">
- <input type="hidden" name="redirect" value="create_reconProcess"/>
- <!--td width="80%" valign="top"-->
- <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
- <td class="titleHeader" align="left"><bean:message key="project.reconConfig.key"/> CREATE</td>
- </table>
- <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
- <td>
- <tr>
- <td width="25%" class="titleField"><a href="rekonConfig.do?action=create&clear=true">Define <bean:message key="project.channel.key"/></a></td>
- <td width="25%" class="titleField"><a href="rekonConfig.do?action=create_reconProcess&clear=true">Define <bean:message key="project.reconProcess.key"/></a></td>
- <td width="25%" class="titleField"><a href="rekonConfig.do?action=create_reconAction&clear=true">Define <bean:message key="project.reconAction.key"/></a></td>
- <td width="25%" class="titleField"><a href="rekonConfig.do?action=create_actionConfig&clear=true">Define<bean:message key="project.actionConfig.key"/></a></td>
- </tr>
- </td>
- </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">
- <tr>
- <td><b>DEFINE <bean:message key="project.reconProcess.key"/></b></td>
- </tr>
- <BR>
- <tr><td colspan="6"><html:errors/></td></tr>
- <tr>
- <td width="15%"><b><bean:message key="reconProcess.channelFk.key"/></b></td>
- <td width="1%">:</td>
- <td width="84%" colspan="5" align="left">
-
- <select name="channelFk">
- <option value="">-- Pilih Salah Satu --</option>
- <logic:notEmpty name="channelFkList">
- <logic:iterate id="channelFkElement" name="channelFkList">
- <option value="<bean:write name="channelFkElement" property="channelPk"/>"
- <logic:notEmpty name="reconProcesses_${ts}" property="channelFk">
- <logic:equal name="reconProcesses_${ts}" property="channelFk" value="${channelFkElement.channelFk}">
- SELECTED
- </logic:equal>
- </logic:notEmpty>
- >
- <bean:write name="channelFkElement" property="channelName"/></option>
- </logic:iterate>
- </logic:notEmpty>
- </select>
- </td>
- </tr>
- <tr>
- <td width="15%"></td>
- <td width="10%"></td>
- <td width="30%"></td>
- <td colspan="4"> </td>
- </tr>
- <!-- LIST ADD RECON PROCESS -->
- <tr>
- <td colspan="7">
- <table width="100%" border="0" cellspacing="1" cellpadding="1">
- <tr>
- <td class="titleField" height="22" width="5%" align="center"><bean:message key="reconProcess.no.key"/></td>
- <td nowrap="nowrap" class="titleField" width="30%"><bean:message key="reconProcess.reconprocess.key"/></td>
- <td class="titleField" width="25%"><bean:message key="reconProcess.startRecon.key"/></td>
- <td class="titleField" width="30%"><bean:message key="reconProcess.formType.key"/></td>
- <td class="titleField" width="10%" > </td>
- </tr>
- <!-- START RECON PROCESS -->
- <logic:notEmpty name="channel_${ts}" property="reconProcesses">
- <% int index = 0; %>
- <logic:iterate id="element_reconProcess" name="channel_${ts}" property="reconProcesses">
- <tr bgcolor="<%= index%2 == 0 ? "FFFFFF" : "EDEDE8" %>" >
- <td align="center"><%=++seq%> </td>
- <td align="left"> <bean:write name="element_reconProcess" property="reconProcess"/></td>
- <td align="left"> <bean:write name="element_reconProcess" property="startRecon"/></td>
- <td align="left"><bean:write name="element_reconProcess" property="formType"/> </td>
- <td align="center">
- <a href="#" ><img src="./images/edit.gif" border="0" onclick="javascript:doEditReconProcess(<%=index%>);" alt="edit"></a>
- <a href="#" ><img src="./images/trash.gif" border="0" onclick="javascript:doDeleteReconProcess(<%=index%>);" alt="remove"></a>
- </td>
- </tr>
- <% index++; %>
- </logic:iterate>
- </logic:notEmpty>
- </table>
- </td>
- </tr>
- <!-- END LIST ADD RECON PROCESS -->
- <!-- ADD ANAK -->
- <tr>
- <td colspan="7"><table width="100%" border="0" cellspacing="1" cellpadding="2">
- <tr>
- <td width="5%" align="left" valign="top"></td>
- <td width="30%" align="left" valign="top"><input type="text" name="reconProcessData" value="<logic:notEmpty name="reconProcesses_${ts}" property="reconProcess"><bean:write name="reconProcesses_${ts}" property="reconProcess"/></logic:notEmpty>"></td>
- <td width="25%" align="left" valign="top"><input type="text" name="startRecon" value="<logic:notEmpty name="reconProcesses_${ts}" property="startRecon"><bean:write name="reconProcesses_${ts}" property="startRecon"/></logic:notEmpty>"></td>
- <td width="30%" align="left" valign="top"><input type="text" name="formType" value="<logic:notEmpty name="reconProcesses_${ts}" property="formType"><bean:write name="reconProcesses_${ts}" property="formType"/></logic:notEmpty>"></td>
- <td width="10%" align="left" valign="top"><input type="button" name="addReconProcessBtn" value="<bean:message key="button.add"/>" onclick="javascript:doAddReconProcess();"></td>
- </tr>
- <tr>
- <td width="15%"></td>
- <td width="10%"></td>
- <td width="30%"></td>
- <td colspan="4"> </td>
- </tr>
- <tr>
- <td width="15%"></td>
- <td width="10%"></td>
- <td width="30%"><input type="button" name="addReconProcessBtn" value="<bean:message key="button.submit"/>" onclick="javascript:doCreateReconProcess();"/></td>
- <td colspan="4"> </td>
- </tr>
- </table></td>
- </tr>
- <!-- END ANAK -->
- </table>
- </td>
- </tr>
- <tr>
- <td> </td>
- </tr>
- </table>
- </td>
- </form>
- <!-- END CONTENT -->
- <%@ include file="../common/footer.jsp"%>
-
|