<%@ include file="/includes.jsp" %>

<style>
	.inventoryTable {
		width: 90%;
		border: #B4B4B4 1px solid;
	}
	
	.inventoryTable > tr > th {
		border: #B4B4B4 1px solid;
		white-space: pre;
		font-weight: normal;
		padding: 6px 3px 6px 3px;
	}
	
	.inventoryTable > tr > td {
		border: #B4B4B4 1px solid;
	}
	
</style>
<br/>
<tags:tableRenderer model="${tableModel}">
	<c:choose>
		<c:when test="${colCount == 6}"><a href="../emdt/formObject.form?type=<c:out value="${cell.value.type }"/>&id=<c:out value="${cell.value.id }"/>"><c:out value="${cell.value.label}"/></a></c:when>
		<c:when test="${colCount == 7}"><a href="javascript:editList('<c:out value="${cell.value.optionsMapDomain }"/>', '<c:out value="${cell.value.optionsMapName }"/>')"><c:out value="${cell.value.optionsMapName }"/></a></c:when>
		<c:otherwise><a href="../emdt/formObject.form?type=<c:out value="${cell.value.type }"/>&id=<c:out value="${cell.value.id }"/>"><c:out value="${cell.value.name}"/></a></c:otherwise>
	</c:choose>
</tags:tableRenderer>

