diff --git a/webapp/web/jenaIngest/exportSelection.jsp b/webapp/web/jenaIngest/exportSelection.jsp index 6a9812c89..5c28c2731 100644 --- a/webapp/web/jenaIngest/exportSelection.jsp +++ b/webapp/web/jenaIngest/exportSelection.jsp @@ -1,5 +1,13 @@ <%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%> +<%@ page import="java.util.List"%> +<%@ page import="java.util.Iterator"%> +<%@ page import="java.util.ArrayList"%> +<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.VitroRequest"%> +<%@ page import="edu.cornell.mannlib.vitro.webapp.beans.Ontology"%> +<%@ page import="edu.cornell.mannlib.vitro.webapp.dao.OntologyDao"%> + +

Export to RDF

@@ -10,10 +18,17 @@
  • Export entire RDF model (including application metadata)
  • Export ontology/ontologies (TBox)
  • Export instance data (ABox)
  • + <%VitroRequest vreq = new VitroRequest(request); + OntologyDao daoObj = vreq.getFullWebappDaoFactory().getOntologyDao(); + List ontologiesObj = daoObj.getAllOntologies(); + if(ontologiesObj !=null && ontologiesObj.size()>0){ + Iterator ontItr = ontologiesObj.iterator(); + while(ontItr.hasNext()){ + Ontology ont = (Ontology) ontItr.next();%> +
  • /> <%=ont.getName()%>
  • + <%}}%> -
    -