| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
- <%@ include file="../common/header.jsp"%>
- <script type="text/javascript" language="javascript">
- <!--
- function doBack(){
- document.forms.mapping.action.value="list";
- document.forms.mapping.submit();
- }
-
- function doDetail(mappingId,mappingGroupId){
- document.forms.mapping.mappingId.value=mappingId;
- document.forms.mapping.mappingGroupId.value=mappingGroupId;
- document.forms.mapping.action.value="newDetailMappingGroupLine";
- document.forms.mapping.submit();
- }
-
- function doAddMappingGroup(id){
- document.forms.mapping.id.value=id;
- alert(document.forms.mapping.id.value);
- document.forms.mapping.addMappingGroupBtn.disabled=true;
- document.forms.mapping.action.value="newAddMappingGroup";
- //document.forms.mapping.itemFocus.value="id";
- document.forms.mapping.submit();
- }
- -->
- </script>
- <!-- CONTENT -->
- <form name="mapping" method="post" action="mapping.do">
- <input type="hidden" name="action" value ="">
- <input type="hidden" name="mappingId" value="">
- <input type="hidden" name="mappingGroupId" value="">
- <input type="hidden" name="id" value="">
- <input type="hidden" name="ts" value="<bean:write name="ts"/>">
- <!--td width="80%" valign="top"-->
- <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
- <tr>
- <td class="titleHeader"><bean:message key="project.mapping.key"/> - DETAIL</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">
- <tr align = "left">
- <td width="15%"><b><bean:message key="mapping.id.key"/></b></td>
- <td width="1%">:</td>
- <td width="84%" colspan="2">
- <bean:write name="mapping_${ts}" property="id"/>
- </td>
- </tr>
- <tr align = "left">
- <td width="15%"><b><bean:message key="mapping.description.key"/></b></td>
- <td width="1%">:</td>
- <td align="left" width="84%" colspan="2">
- <bean:write name="mapping_${ts}" property="description"/>
- </td>
- </tr>
- <tr align = "left">
- <td width="15%"><b><bean:message key="mapping.modifiedBy.key"/></b></td>
- <td width="1%">:</td>
- <td align="left" width="84%" colspan="2">
- <bean:write name="mapping_${ts}" property="modifiedBy"/>
- </td>
- </tr>
- <tr align = "left">
- <td width="15%"><b><bean:message key="mapping.timestamp.key"/></b></td>
- <td width="1%">:</td>
- <td align="left" width="84%" colspan="2">
- <logic:notEmpty name="mapping_${ts}" property="timestamp">
- <bean:write name="mapping_${ts}" property="timestamp.time" format="yyyy-MM-dd HH:mm:ss.SSS"/>
- </logic:notEmpty>
- </td>
- <td> </td>
- </tr>
- <tr>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </table>
- <br>
- <!--mapping TARGET-->
- <table width="100%" border="0" cellspacing="1" cellpadding="2">
- <tr>
- <td class="titleHeader" colspan="7"><bean:message key="project.mappingGroup.key"/> - DETAIL</td>
- </tr>
- <tr>
- <td class="titleField" height="22" width="10%"><bean:message key="mappingGroup.no.key"/></td>
- <td class="titleField"><bean:message key="mappingGroup.id.key"/></td>
- <td class="titleField"><bean:message key="mappingGroup.source.key"/></td>
- <td class="titleField"><bean:message key="mappingGroup.target.key"/></td>
- <td class="titleField"><bean:message key="mappingGroup.includeMappingId.key"/></td>
- <td class="titleField"><bean:message key="mappingGroup.includeId.key"/></td>
- <td width="5%" class="titleField"> </td>
- </tr>
- <logic:notEmpty name="mapping_${ts}" property="mappingGroups">
- <logic:iterate id="element_mappingGroups" name="mapping_${ts}" property="mappingGroups">
- <tr class="bgField">
- <td align="center"><%=++seq%> </td>
- <td nowrap="nowrap">
- <bean:write name="element_mappingGroups" property="id.mappingId"/> - <bean:write name="element_mappingGroups" property="id.mappingGroupId"/>
- </td>
- <td align="left">
- <bean:write name="element_mappingGroups" property="source"/>
- </td>
- <td align="left">
- <bean:write name="element_mappingGroups" property="target"/>
- </td>
- <td align="left">
- <bean:write name="element_mappingGroups" property="includeMappingId"/>
- </td>
- <td align="left">
- <bean:write name="element_mappingGroups" property="includeId"/>
- </td>
- <td align="center"><a href="#" ><img src="./images/detail.gif" border="0" onclick="doDetail('<bean:write name="element_mappingGroups" property="id.mappingId"/>','<bean:write name="element_mappingGroups" property="id.mappingGroupId"/>');" alt="see detail"></a></td>
- </tr>
- </logic:iterate>
- </logic:notEmpty>
- </table><br><br><br>
- <!--END mapping TARGET-->
- <table width="100%" border="0" cellspacing="1" cellpadding="2">
- <tr>
- <td align="center" colspan="7"><input type="button" value=<bean:message key="button.back" /> onclick="doBack();"></td>
- </tr>
- <tr>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- <tr>
- <td align="left" valign="top" colspan="3">
- <input type="button" name="addMappingGroupBtn" value="<bean:message key="button.addNewMappingGroup"/>" onclick="javascript:doAddMappingGroup('<bean:write name="mapping_${ts}" property="id"/>');">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </form>
- <!-- END CONTENT -->
- <%@ include file="../common/footer.jsp"%>
-
|