| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257 |
- <%@ include file="../common/header.jsp"%>
-
- <script type="text/javascript" language="javascript">
- <!--
-
- function doEditSearch(){
- document.forms.errorMap.action.value="edit_search";
- document.forms.errorMap.submit();
- doDisable(document.forms.errorMap, "button");
- }
-
- function doUpdateErrorMapList(group1,original1){
- document.forms.errorMap.group1.value=group1;
- document.forms.errorMap.original1.value=original1;
- document.forms.errorMap.action.value = "edit_list";
- document.forms.errorMap.submit();
-
- }
-
-
- function doBack(){
- document.forms.errorMap.action.value="list";
- document.forms.errorMap.submit();
- doDisable(document.forms.errorMap, "button");
- }
-
- function doCreateErrorMap(){
- var x = window.confirm("<bean:message key="confirm.create"/>")
- if (x) {
- document.forms.errorMap.action.value="create_ok";
- document.forms.errorMap.post.value = "true";
- document.forms.errorMap.submit();
- }
- }
-
- function doUpdateErrorMap(group1,original1){
- var x = window.confirm("<bean:message key="confirm.edit"/>");
- if(x){
- document.forms.errorMap.group1.value=group1;
- document.forms.errorMap.original1.value=original1;
- document.forms.errorMap.action.value = "edit_ok";
- document.forms.errorMap.post.value = "true";
- document.forms.errorMap.submit();
- }
- }
-
- function doDeleteErrorMap(group1,original1){
- var x = window.confirm("<bean:message key="confirm.delete"/>");
- if(x){
- document.forms.errorMap.action.value="delete_errorMap";
- //document.forms.client.itemFocus.value="idClientTarget";
- document.forms.errorMap.group1.value=group1;
- document.forms.errorMap.original1.value=original1;
- document.forms.errorMap.submit();
- }
- }
- -->
- </script>
- <!-- CONTENT -->
- <form name="errorMap" method="post" action="errorMap.do">
- <input type="hidden" name="action" value ="">
- <input type="hidden" name="id" value ="">
- <input type="hidden" name="group1" value ="">
- <input type="hidden" name="original1" value ="">
- <input type="hidden" name="post">
- <input type="hidden" name="status" value ="">
- <input type="hidden" name="itemFocus" value="errorMap_group_filter">
- <!--td width="80%" valign="top"-->
- <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
- <tr>
- <td class="titleHeader"><bean:message key="project.errorMap.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">
-
-
- <tr align = "left">
- <td width="15%"><b><bean:message key="errorMap.group.key" /></b></td>
- <td width="1%">:</td>
- <td width="84%" align="left" colspan="5">
-
-
-
- <select name="id_search" style="width:150" id="group_id">
- <option value="">-- Select Group --</option>
- <logic:notEmpty name="groupList">
- <logic:iterate id="element_group" name="groupList" >
- <option value="<bean:write name="element_group" property="group" />"
- <logic:notEmpty name="idSearchGroupOriginal">
- <logic:equal name="idSearchGroupOriginal" value="${element_group.group}">
- selected
- </logic:equal>
- </logic:notEmpty>
- ><bean:write name="element_group" property="group" /></option>
- </logic:iterate>
- </logic:notEmpty>
- </select>
-
-
-
- </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>
-
- <!--START LIST UPDATE ERROR MAP-->
- <logic:notEmpty name="errorMapListUpdate">
- <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="errorMap.group.key"/></td>
- <td width="15%" align="left" height="10" valign="top" class="titleField"><bean:message key="errorMap.original.key"/></td>
- <td width="15%" align="left" height="10" valign="top" class="titleField"><bean:message key="errorMap.target.key"/></td>
- <td width="15%" align="left" height="10" valign="top" class="titleField"><bean:message key="errorMap.detail.key"/> </td>
- <td width="15%" align="left" height="10" valign="top" class="titleField"><bean:message key="errorMap.modified_by.key"/></td>
-
- <td width="5%" class="titleField"> </td>
- </tr>
- <logic:notEmpty name="errorMapListUpdate">
- <logic:iterate id="element" name="errorMapListUpdate" 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="id.group"/>
- </td>
- <td align="left" class="celBorder">
- <bean:write name="element" property="id.original"/>
- </td>
- <td align="left" class="celBorder">
- <bean:write name="element" property="target"/>
- </td>
- <td align="left" class="celBorder">
- <bean:write name="element" property="detail"/>
- </td>
- <td align="left" class="celBorder">
- <bean:write name="element" property="modified_by"/>
- </td>
- <td align="center" class="celBorder">
- <a href="#" ><img src="./images/edit.gif" border="0" onclick="javascript:doUpdateErrorMapList('<bean:write name="element" property="id.group"/>','<bean:write name="element" property="id.original"/>');" alt="update"></a>
- <a href="#" ><img src="./images/trash.gif" border="0" onclick="javascript:doDeleteErrorMap('<bean:write name="element" property="id.group"/>','<bean:write name="element" property="id.original"/>');" alt="remove"></a>
- </td>
- </tr>
- </logic:iterate>
- </logic:notEmpty>
- <tr align = "left">
- <td width="100%" colspan="8">
- <table width="100%" border="0" cellspacing="1" cellpadding="2">
- <tr>
- <td width="15%"><b><bean:message
- key="errorMap.group.key" /> <font color="#FF0000">*</font></b></td>
- <td width="1">:</td>
- <td width="29%" align="left" valign="top"><input type="text"
- name="group"
- value='<logic:notEmpty name="errorMap" property="id"><bean:write name="errorMap" property="id.group"/></logic:notEmpty>'>
- </td>
- </tr>
- <tr>
- <td width="15%"><b><bean:message key="errorMap.original.key" />
- <font color="#FF0000">*</font></b></td>
- <td width="1%">:</td>
- <td width="29%" align="left" valign="top"><input type="text"
- name="original"
- value='<logic:notEmpty name="errorMap" property="id"><bean:write name="errorMap" property="id.original"/></logic:notEmpty>'>
- </td>
- </tr>
- <tr>
- <td width="15%"><b><bean:message
- key="errorMap.target.key" /></b></td>
- <td width="1%">:</td>
- <td width="29%" align="left" valign="top"><input type="text"
- name="target"
- value='<logic:notEmpty name="errorMap" property="target"><bean:write name="errorMap" property="target"/></logic:notEmpty>'>
- </td>
- </tr>
- <tr>
- <td width="15%"><b><bean:message key="errorMap.detail.key" /></b></td>
- <td width="1%">:</td>
- <td width="29%" align="left" valign="top"><input type="text"
- name="detail"
- value='<logic:notEmpty name="errorMap" property="detail"><bean:write name="errorMap" property="detail"/></logic:notEmpty>'>
- </td>
- </tr>
- <tr>
- <td align="left" valign="top"> </td>
- <td align="left" valign="top"> </td>
- <td align="left" valign="top"><br>
- <input type="button" value="<bean:message key="button.submit"/>" onclick="doUpdateErrorMap('<logic:notEmpty name="errorMap" property="id"><bean:write name="errorMap" property="id.group"/></logic:notEmpty>','<logic:notEmpty name="errorMap" property="id"><bean:write name="errorMap" property="id.original"/></logic:notEmpty>');">
- </td>
- </tr>
- <tr>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </table>
- </td>
-
- </tr>
- <tr>
-
- </tr>
- </logic:notEmpty>
- <!--END LIST UPDATE ERROR MAP-->
- </table>
- </td>
- </tr>
-
- <tr>
- <td>
- </td>
- </tr>
- </table>
- </form>
- <!-- END CONTENT -->
- <%@ include file="../common/footer.jsp"%>
-
|