/[volute]/trunk/projects/theory/snapdm/webapp/simdb-browser/web/index.jsp
ViewVC logotype

Contents of /trunk/projects/theory/snapdm/webapp/simdb-browser/web/index.jsp

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: 995 byte(s)
many new tags to get meta, display references & collections using listGeneric.jsp
1 <%@page contentType="text/html" session="false" pageEncoding="UTF-8" import="org.ivoa.dm.MetaModelFactory" %>
2 <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
3 <%@ taglib tagdir="/WEB-INF/tags" prefix="x" %>
4
5 <c:set var="title" scope="request" value="Root Elements" ></c:set>
6 <c:set var="noLink" scope="request" value="1" ></c:set>
7
8 <jsp:include page="header.jsp" flush="false"/>
9
10 <% pageContext.setAttribute("types", MetaModelFactory.getInstance().getObjectClassTypeList()); %>
11
12 <p>
13 <c:forEach var="entry" begin="0" items="${types}">
14 <c:if test="${entry.root eq true}">
15 <b>All ${entry.type.name}s :</b>
16 <ul>
17 <li>
18 <x:getMeta name="${entry.type.name}" var="meta">
19 <a class="tooltipTrigger" title="&lt;h4&gt;${meta.type.name}&lt;/h4&gt;${meta.type.description}" href="List.do?entity=${meta.type.name}">${meta.type.name} List</a>
20 </x:getMeta>
21 </li>
22 </ul>
23 </c:if>
24 </c:forEach>
25 </p>
26
27 <jsp:include page="footer.jsp" flush="false" />

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