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

Contents of /trunk/projects/theory/snapdm/webapp/simdb-browser/web/WEB-INF/tagfiles/showRef.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: 423 byte(s)
many new tags to get meta, display references & collections using listGeneric.jsp
1 <%@ tag isELIgnored="false" import="java.util.*, org.ivoa.dm.model.MetadataObject"%>
2 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
3 <%@ attribute name="ref" type="org.ivoa.dm.model.MetadataObject" required="true" %>
4 <%@ taglib tagdir="/WEB-INF/tags" prefix="x" %>
5 <%
6 Collection col = Arrays.asList(new MetadataObject[]{ ref });
7 jspContext.setAttribute("col", col);
8 %>
9 <x:showCollection col="${col}"/>

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