1 |
<%@page contentType="text/html" session="false" pageEncoding="UTF-8"%> |
2 |
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> |
3 |
<%@ taglib tagdir="/WEB-INF/tags" prefix="x" %> |
4 |
|
5 |
<jsp:include page="../header.jsp" flush="false" /> |
6 |
|
7 |
<jsp:include page="ListHeader.jsp" flush="false" /> |
8 |
|
9 |
<c:if test="${! empty requestScope.list}"> |
10 |
|
11 |
<c:set var="meta" value="${requestScope.metaData}" ></c:set> |
12 |
|
13 |
<table id="listTable" border="1" cellspacing="0" cellpadding="4" width="100%"> |
14 |
<tr> |
15 |
<c:forEach var="entry" begin="0" items="${meta.attributeList}"> |
16 |
<%-- <c:if test="${entry.multiplicity eq '1'}"> --%> |
17 |
<th><a name="${entry.name}" title="${entry.description}">${entry.name}</a></th> |
18 |
<%-- </c:if> --%> |
19 |
</c:forEach> |
20 |
</tr> |
21 |
<c:forEach var="item" begin="0" items="${requestScope.list}"> |
22 |
<tr> |
23 |
<c:forEach var="entry" begin="0" items="${meta.attributeList}"> |
24 |
<%-- <c:if test="${entry.multiplicity eq '1'}"> --%> |
25 |
<td> |
26 |
<a href="Show.do?entity=${requestScope.entity.name}&id=${item.id}" title="show ${requestScope.entity.name}"> |
27 |
<x:getProperty item="${item}" name="${entry.name}" var="value">${value}</x:getProperty> |
28 |
</a> |
29 |
</td> |
30 |
<%-- </c:if> --%> |
31 |
</c:forEach> |
32 |
</tr> |
33 |
</c:forEach> |
34 |
</table> |
35 |
</c:if> |
36 |
|
37 |
<jsp:include page="../footer.jsp" flush="false" /> |