<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%> <%-- Custom short view for ResearchActivity, TeachingActivity, OutreachActivity, and ServiceActivity SUBJECT - entity PREDICATE - predicateUri OBJECT - individual --%> <%@ page import="edu.cornell.mannlib.vitro.webapp.dao.VitroVocabulary" %> <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> <%@ taglib uri="http://vitro.mannlib.cornell.edu/vitro/tags/StringProcessorTag" prefix="p" %> <%-- individual is the OBJECT of the property referenced - in this case, the Activity object --%> <%-- Get the Activity label --%> <%-- Create an html link element to the activity --%> ${activityLabel} <%-- Get the role of the person in the activity --%> <%-- Get the time span of the service activity --%> <%-- Construct the final output --%> ${activityLink} <%-- We need a join but we have to keep getting variables in and out of JSTL/EL/Java. Do this for now even though it's ugly. --%> ${role}, ${timeSpan} ${role} ${timeSpan} <%-- no predicate --%> <%-- no object --%>