/[volute]/trunk/projects/theory/snapdm/webapp/simdb-browser/web/WEB-INF/tagfiles/showCollection.tag
ViewVC logotype

Contents of /trunk/projects/theory/snapdm/webapp/simdb-browser/web/WEB-INF/tagfiles/showCollection.tag

Parent Directory Parent Directory | Revision Log Revision Log


Revision 680 - (show annotations)
Wed Jul 9 22:05:49 2008 UTC (12 years, 4 months ago) by bourges.laurent
File size: 727 byte(s)
many new tags to get meta, display references & collections using listGeneric.jsp
1 <%@ tag isELIgnored="false" %>
2 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
3 <%@ attribute name="col" type="java.util.Collection" required="true" %>
4
5 <c:if test="${! empty col}">
6 <c:set var="itemList.bak" scope="page" value="${requestScope.list}" ></c:set>
7 <c:set var="itemMeta.bak" scope="page" value="${requestScope.metaData}" ></c:set>
8
9 <c:set var="list" scope="request" value="${col}" ></c:set>
10 <c:set var="metaData" scope="request" value="${col[0].classMetaData}" ></c:set>
11
12 <jsp:include page="/list/ListEmbeddable.jsp" flush="false" />
13
14 <c:set var="list" scope="request" value="${itemList.bak}" ></c:set>
15 <c:set var="metaData" scope="request" value="${itemMeta.bak}" ></c:set>
16
17 </c:if>

msdemlei@ari.uni-heidelberg.de
ViewVC Help
Powered by ViewVC 1.1.26