2010-01-29 22:13:57 +00:00
|
|
|
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
|
|
|
|
|
|
|
<%@ page import="com.hp.hpl.jena.ontology.Individual" %>
|
|
|
|
<%@ page import="com.hp.hpl.jena.ontology.OntModel" %>
|
|
|
|
<%@ page import="com.hp.hpl.jena.rdf.model.ModelMaker" %>
|
|
|
|
<%@ page import="com.hp.hpl.jena.shared.Lock" %>
|
|
|
|
<%@ page import="java.util.Iterator" %>
|
|
|
|
<%@ page import="java.util.List" %>
|
|
|
|
<%@ page import="java.net.URLEncoder" %>
|
2011-04-27 20:20:25 +00:00
|
|
|
|
|
|
|
<%@taglib prefix="vitro" uri="/WEB-INF/tlds/VitroUtils.tld" %>
|
2011-12-05 20:13:37 +00:00
|
|
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
2011-12-21 23:02:31 +00:00
|
|
|
<%@page import="edu.cornell.mannlib.vitro.webapp.auth.permissions.SimplePermission" %>
|
|
|
|
<% request.setAttribute("requestedActions", SimplePermission.USE_ADVANCED_DATA_TOOLS_PAGES.ACTION); %>
|
2011-04-27 20:20:25 +00:00
|
|
|
<vitro:confirmAuthorization />
|
2010-12-22 17:33:20 +00:00
|
|
|
|
|
|
|
<h2><a class="ingestMenu" href="ingest">Ingest Menu</a> > Smush Resources</h2>
|
2010-01-29 22:13:57 +00:00
|
|
|
|
|
|
|
<form action="ingest" method="get"i>
|
|
|
|
<input type="hidden" name="action" value="smushSingleModel"/>
|
|
|
|
|
|
|
|
<h3>URI of Property with which To Smush
|
2010-04-05 17:05:03 +00:00
|
|
|
<input type="text" style="width:40%;" name="propertyURI"/>
|
2010-01-29 22:13:57 +00:00
|
|
|
|
|
|
|
<h3>Select Source Models</h3>
|
|
|
|
|
|
|
|
<ul>
|
2011-12-05 20:13:37 +00:00
|
|
|
<li> <input type="checkbox" name="sourceModelName" value="vitro:baseOntModel"/>webapp assertions</li>
|
|
|
|
<c:forEach var="modelName" items="${modelNames}">
|
|
|
|
<li> <input type="checkbox" name="sourceModelName" value="${modelName}"/>${modelName}</li>
|
|
|
|
</c:forEach>
|
2010-01-29 22:13:57 +00:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<h3>Select Destination Model</h3>
|
|
|
|
|
|
|
|
<select name="destinationModelName">
|
2010-04-05 17:05:03 +00:00
|
|
|
<option value="vitro:baseOntModel">webapp assertions</option>
|
2011-12-05 20:13:37 +00:00
|
|
|
<c:forEach var="modelName" items="${modelNames}">
|
|
|
|
<option value="${modelName}"/>${modelName}</option>
|
|
|
|
</c:forEach>
|
2010-01-29 22:13:57 +00:00
|
|
|
</select>
|
|
|
|
|
2010-12-10 22:08:36 +00:00
|
|
|
<input id="submit" type="submit" value="Smush Resources"/>
|