Adding changes and code for terminology annotation support and integration of UMLS vocabulary
This commit is contained in:
parent
a3f174f813
commit
dc46b3e195
9 changed files with 1005 additions and 1 deletions
29
productMods/edit/forms/css/addTerminology.css
Normal file
29
productMods/edit/forms/css/addTerminology.css
Normal file
|
@ -0,0 +1,29 @@
|
|||
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
|
||||
|
||||
.terminology .column {
|
||||
float:left;
|
||||
padding-right:3px;
|
||||
|
||||
}
|
||||
|
||||
.terminology .row {
|
||||
clear:both;
|
||||
float:left;
|
||||
border-bottom: 1px solid #5F6464;
|
||||
}
|
||||
|
||||
.termLabel {
|
||||
width:220px;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
.termType {
|
||||
width: 40px;
|
||||
}
|
||||
.termDefinition{
|
||||
width:400px;
|
||||
}
|
||||
|
||||
form#addTerminologyForm {
|
||||
display:none;
|
||||
}
|
239
productMods/edit/forms/js/addTerminology.js
Normal file
239
productMods/edit/forms/js/addTerminology.js
Normal file
|
@ -0,0 +1,239 @@
|
|||
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
|
||||
|
||||
var addTerminologyForm = {
|
||||
|
||||
/* *** Initial page setup *** */
|
||||
|
||||
onLoad: function() {
|
||||
|
||||
if (this.disableFormInUnsupportedBrowsers()) {
|
||||
return;
|
||||
}
|
||||
this.mixIn();
|
||||
this.initObjects();
|
||||
this.initPage();
|
||||
},
|
||||
|
||||
disableFormInUnsupportedBrowsers: function() {
|
||||
var disableWrapper = $('#ie67DisableWrapper');
|
||||
|
||||
// Check for unsupported browsers only if the element exists on the page
|
||||
if (disableWrapper.length) {
|
||||
if (vitro.browserUtils.isIELessThan8()) {
|
||||
disableWrapper.show();
|
||||
$('.noIE67').hide();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
},
|
||||
|
||||
mixIn: function() {
|
||||
// Mix in the custom form utility methods
|
||||
$.extend(this, vitro.customFormUtils);
|
||||
|
||||
// Get the custom form data from the page
|
||||
$.extend(this, customFormData);
|
||||
//test
|
||||
alert(addTerminologyForm.UMLSCUIURL);
|
||||
alert(addTerminologyForm.dataServiceUri);
|
||||
},
|
||||
// On page load, create references for easy access to form elements.
|
||||
initObjects: function() {
|
||||
|
||||
this.form = $('#addTerminologyForm');
|
||||
this.showFormButtonWrapper = $('#showAddForm');
|
||||
this.submit = this.form.find(':submit');
|
||||
this.cancel = this.form.find('.cancel');
|
||||
//Add term
|
||||
this.addTermButton = $('#showAddFormButton');
|
||||
//section where results should be displayed
|
||||
this.selectedTerm = $('#selectedTerm');
|
||||
//input for search term form
|
||||
this.searchTerm = $('#searchTerm');
|
||||
this.searchSubmit = $('#searchButton');
|
||||
//Hidden inputs for eventual submission
|
||||
this.referencedTerm = $('#referencedTerm');
|
||||
this.entryTerm = $('#entryTerm');
|
||||
this.termLabel = $('#termLabel');
|
||||
this.termType = $('#termType');
|
||||
this.removeTermLinks = $('a.remove');
|
||||
},
|
||||
|
||||
initPage: function() {
|
||||
this.initTermData();
|
||||
this.bindEventListeners();
|
||||
|
||||
},
|
||||
bindEventListeners: function() {
|
||||
this.searchSubmit.click(function() {
|
||||
addTerminologyForm.submitSearchTerm();
|
||||
return false;
|
||||
});
|
||||
|
||||
this.form.submit(function() {
|
||||
return addTerminologyForm.prepareSubmit();
|
||||
});
|
||||
|
||||
this.addTermButton.click(function() {
|
||||
addTerminologyForm.initForm();
|
||||
|
||||
});
|
||||
this.removeTermLinks.click(function() {
|
||||
addTerminologyForm.removeExistingTerm(this);
|
||||
return false;
|
||||
});
|
||||
},
|
||||
initForm: function() {
|
||||
// Hide the button that shows the form
|
||||
this.showFormButtonWrapper.hide();
|
||||
this.clearSearchResults();
|
||||
|
||||
this.cancel.unbind('click');
|
||||
this.cancel.bind('click', function() {
|
||||
//show only list of existing terms and hide adding term form
|
||||
addTerminologyForm.showTermListOnlyView();
|
||||
return false;
|
||||
});
|
||||
|
||||
// Show the form
|
||||
this.form.show();
|
||||
},
|
||||
// On page load, associate data with each existing term element. Then we don't
|
||||
// have to keep retrieving data from or modifying the DOM as we manipulate the
|
||||
// authorships.
|
||||
initTermData: function() {
|
||||
$('.existingTerm').each(function(index) {
|
||||
$(this).data(existingTermsData[index]);
|
||||
$(this).data('position', index+1);
|
||||
});
|
||||
},
|
||||
clearSearchResults:function() {
|
||||
$('#selectedTerm').empty();
|
||||
},
|
||||
showTermListOnlyView: function() {
|
||||
this.hideForm();
|
||||
this.showFormButtonWrapper.show();
|
||||
},
|
||||
submitSearchTerm: function() {
|
||||
//Get value of search term
|
||||
var searchValue = this.searchTerm.val();
|
||||
this.entryTerm.val(searchValue);
|
||||
var dataServiceUrl = addTerminologyForm.dataServiceUrl + "?searchTerm=" + encodeURIComponent(searchValue);
|
||||
$.getJSON(dataServiceUrl, function(results) {
|
||||
if ( results.All.length == 0 ) {
|
||||
} else {
|
||||
//update existing content type with correct class group name and hide class group select again
|
||||
var bestMatchResults = results["Best Match"];
|
||||
var numberMatches = bestMatchResults.length;
|
||||
var i;
|
||||
//For each result, display
|
||||
var htmlAdd = "";
|
||||
if(numberMatches > 0) {
|
||||
htmlAdd = "<ul class='dd' id='terms' name='terms'>";
|
||||
htmlAdd+= addTerminologyForm.addResultsHeader();
|
||||
for(i = 0; i < numberMatches; i++) {
|
||||
var termResult = bestMatchResults[i];
|
||||
var CUI = termResult.CUI;
|
||||
var label = termResult.label;
|
||||
var definition = termResult.definition;
|
||||
var type = termResult.type;
|
||||
var cuiURI = addTerminologyForm.UMLSCUIURL + CUI;
|
||||
htmlAdd+= addTerminologyForm.generateIndividualTermDisplay(cuiURI, label, definition, type);
|
||||
}
|
||||
htmlAdd+= "</ul>";
|
||||
} else {
|
||||
htmlAdd+= "<p>No search results found.</p>";
|
||||
}
|
||||
$('#selectedTerm').html(htmlAdd);
|
||||
}
|
||||
|
||||
});
|
||||
},
|
||||
addResultsHeader:function() {
|
||||
var htmlAdd = "<li class='terminology'><div class='row'><span class='column termLabel'>Label (Type) </span><span class='column termDefinition'>Definition</span></div></li>";
|
||||
return htmlAdd;
|
||||
},
|
||||
hideSearchResults:function() {
|
||||
this.selectedTerm.hide();
|
||||
},
|
||||
prepareSubmit:function() {
|
||||
var checkedElements = $("#CUI:checked");
|
||||
var i;
|
||||
var len = checkedElements.length;
|
||||
var checkedTerm, checkedTermElement, termLabel, termType;
|
||||
var referencedTerms = [];
|
||||
var termLabels = [];
|
||||
var termTypes = [];
|
||||
|
||||
checkedElements.each(function() {
|
||||
checkedTermElement = $(this);
|
||||
checkedTerm = checkedTermElement.val();
|
||||
termType = checkedTermElement.attr("termType");
|
||||
termLabel = checkedTermElement.attr("label");
|
||||
referencedTerms.push(checkedTerm);
|
||||
termLabels.push(termLabel);
|
||||
termTypes.push(termType);
|
||||
});
|
||||
this.referencedTerm.val(referencedTerms);
|
||||
this.termLabel.val(termLabels);
|
||||
this.termType.val(termTypes);
|
||||
return true;
|
||||
},
|
||||
generateIndividualTermDisplay: function(cuiURI, label, definition, type) {
|
||||
var htmlAdd = "<li class='terminology'>" +
|
||||
"<div class='row'>" +
|
||||
"<span class='column termLabel'>" +
|
||||
"<input type='checkbox' id='CUI' name='CUI' value='" + cuiURI + "' label='" + label + "' termType='" + type + "'/>" +
|
||||
label + "( " + type + ")</span>" +
|
||||
"<span class='column termDefinition'>" + definition + "</span>" +
|
||||
"</div>" +
|
||||
"</li>";
|
||||
return htmlAdd;
|
||||
}, removeExistingTerm: function(link) {
|
||||
var removeLast = false,
|
||||
message = 'Are you sure you want to remove this term?';
|
||||
|
||||
if (!confirm(message)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($(link)[0] === $('.remove:last')[0]) {
|
||||
removeLast = true;
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
url: $(link).attr('href'),
|
||||
type: 'POST',
|
||||
data: {
|
||||
deletion: $(link).parents('.existingTerm').data('termNodeUri')
|
||||
},
|
||||
dataType: 'json',
|
||||
context: link, // context for callback
|
||||
complete: function(request, status) {
|
||||
var existingTerm,
|
||||
termNodeUri;
|
||||
|
||||
if (status === 'success') {
|
||||
|
||||
existingTerm = $(this).parents('.existingTerm');
|
||||
existingTerm.fadeOut(400, function() {
|
||||
var numTerms;
|
||||
// For undo link: add to a deletedAuthorships array
|
||||
// Remove from the DOM
|
||||
$(this).remove();
|
||||
// Actions that depend on the author having been removed from the DOM:
|
||||
numTerms = $('.existingTerm').length; // retrieve the length after removing authorship from the DOM
|
||||
});
|
||||
|
||||
} else {
|
||||
alert('Error processing request: author not removed');
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
$(document).ready(function() {
|
||||
addTerminologyForm.onLoad();
|
||||
});
|
286
productMods/edit/forms/terminologyAnnotation.jsp
Normal file
286
productMods/edit/forms/terminologyAnnotation.jsp
Normal file
|
@ -0,0 +1,286 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<%-- Custom form for adding terminology annotation
|
||||
--%>
|
||||
|
||||
<%@ page import="java.util.List" %>
|
||||
<%@ page import="java.util.ArrayList" %>
|
||||
<%@ page import="java.util.Arrays" %>
|
||||
<%@ page import="java.util.Collections" %>
|
||||
|
||||
<%@ page import="com.hp.hpl.jena.rdf.model.Model" %>
|
||||
<%@ page import="com.hp.hpl.jena.vocabulary.XSD" %>
|
||||
|
||||
<%@ page import="edu.cornell.mannlib.vitro.webapp.beans.Individual" %>
|
||||
<%@ page import="edu.cornell.mannlib.vitro.webapp.beans.DataPropertyComparator" %>
|
||||
<%@ page import="edu.cornell.mannlib.vitro.webapp.beans.DataPropertyStatement" %>
|
||||
<%@ page import="edu.cornell.mannlib.vitro.webapp.dao.VitroVocabulary" %>
|
||||
<%@ page import="edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.EditConfiguration" %>
|
||||
<%@ page import="edu.cornell.mannlib.vitro.webapp.dao.WebappDaoFactory" %>
|
||||
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.VitroRequest" %>
|
||||
<%@ page import="edu.cornell.mannlib.vitro.webapp.web.MiscWebUtils" %>
|
||||
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.freemarker.UrlBuilder.JavaScript" %>
|
||||
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.freemarker.UrlBuilder.Css" %>
|
||||
|
||||
<%@ page import="org.apache.commons.lang.StringUtils" %>
|
||||
<%@ page import="org.json.JSONObject" %>
|
||||
<%@ page import="org.apache.commons.logging.Log" %>
|
||||
<%@ page import="org.apache.commons.logging.LogFactory" %>
|
||||
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
|
||||
<%@ taglib prefix="v" uri="http://vitro.mannlib.cornell.edu/vitro/tags" %>
|
||||
|
||||
<%!
|
||||
public static Log log = LogFactory.getLog("edu.cornell.mannlib.vitro.webapp.jsp.edit.forms.terminologyAnnotation.jsp");
|
||||
%>
|
||||
<%
|
||||
VitroRequest vreq = new VitroRequest(request);
|
||||
WebappDaoFactory wdf = vreq.getWebappDaoFactory();
|
||||
vreq.setAttribute("defaultNamespace", ""); //empty string triggers default new URI behavior
|
||||
|
||||
vreq.setAttribute("stringDatatypeUriJson", MiscWebUtils.escape(XSD.xstring.toString()));
|
||||
|
||||
%>
|
||||
|
||||
<c:set var="vivoCore" value="http://vivoweb.org/ontology/core#" />
|
||||
<c:set var="rdfs" value="<%= VitroVocabulary.RDFS %>" />
|
||||
<c:set var="label" value="${rdfs}label" />
|
||||
<c:set var="foaf" value="http://xmlns.com/foaf/0.1/" />
|
||||
<c:set var="personClassUri" value="${foaf}Person" />
|
||||
|
||||
<%-- Unlike other custom forms, this form does not allow edits of existing authors, so there are no
|
||||
SPARQL queries for existing values. --%>
|
||||
|
||||
|
||||
<v:jsonset var="n3ForTerminology">
|
||||
@prefix core: <${vivoCore}> .
|
||||
?subject ?predicate ?terminologyContextNode .
|
||||
?terminologyContextNode core:referencedTerm ?referencedTerm .
|
||||
?terminologyContextNode core:entryTerm ?entryTerm .
|
||||
?terminologyContextNode core:termLabel ?termLabel .
|
||||
</v:jsonset>
|
||||
|
||||
<c:set var="returnPathAfterSubmit" value="/edit/editRequestDispatch.jsp?subjectUri=${subjectUri}&predicateUri=${predicateUri}" />
|
||||
<c:set var="submitSearchUrl" value="/UMLSTermsRetrieval"/>
|
||||
<c:url var="UMLSCUIURL" value="http://link.informatics.stonybrook.edu/umls/CUI/" />
|
||||
<c:set var="editjson" scope="request">
|
||||
{
|
||||
"formUrl" : "${formUrl}",
|
||||
"editKey" : "${editKey}",
|
||||
"urlPatternToReturnTo" : "${returnPathAfterSubmit}",
|
||||
|
||||
"subject" : ["subject", "${subjectUriJson}" ],
|
||||
"predicate" : ["predicate", "${predicateUriJson}" ],
|
||||
"object" : ["terminologyContextNode", "${objectUriJson}", "URI" ],
|
||||
|
||||
"n3required" : [ "${n3ForTerminology}" ],
|
||||
|
||||
"n3optional" : [ ],
|
||||
|
||||
"newResources" : { "terminologyContextNode" : "${defaultNamespace}" },
|
||||
|
||||
"urisInScope" : { },
|
||||
"literalsInScope": { },
|
||||
"urisOnForm" : [ "referencedTerm" ],
|
||||
"literalsOnForm" : [ "entryTerm", "termLabel" ],
|
||||
"filesOnForm" : [ ],
|
||||
"sparqlForLiterals" : { },
|
||||
"sparqlForUris" : { },
|
||||
"sparqlForExistingLiterals" : { },
|
||||
"sparqlForExistingUris" : { },
|
||||
"fields" : {
|
||||
"referencedTerm" : {
|
||||
"newResource" : "false",
|
||||
"validators" : [ "nonempty" ],
|
||||
"optionsType" : "UNDEFINED", //UNSURE WHAT TO KEEP HERE
|
||||
"literalOptions" : [ ],
|
||||
"predicateUri" : "",
|
||||
"objectClassUri" : "",
|
||||
"rangeDatatypeUri" : "",
|
||||
"rangeLang" : "",
|
||||
"assertions" : [ "${n3ForTerminology}" ]
|
||||
},
|
||||
"entryTerm" : {
|
||||
"newResource" : "false",
|
||||
"validators" : [ "nonempty" ],
|
||||
"optionsType" : "UNDEFINED",
|
||||
"literalOptions" : [ ],
|
||||
"predicateUri" : "",
|
||||
"objectClassUri" : "",
|
||||
"rangeDatatypeUri" : "",
|
||||
"rangeLang" : "",
|
||||
"assertions" : [ "${n3ForTerminology}" ]
|
||||
},
|
||||
"termLabel" : {
|
||||
"newResource" : "false",
|
||||
"validators" : [ "nonempty" ],
|
||||
"optionsType" : "UNDEFINED",
|
||||
"literalOptions" : [ ],
|
||||
"predicateUri" : "",
|
||||
"objectClassUri" : "",
|
||||
"rangeDatatypeUri" : "",
|
||||
"rangeLang" : "",
|
||||
"assertions" : [ "${n3ForTerminology}" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
</c:set>
|
||||
|
||||
<%
|
||||
log.debug(request.getAttribute("editjson"));
|
||||
|
||||
EditConfiguration editConfig = EditConfiguration.getConfigFromSession(session,request);
|
||||
if (editConfig == null) {
|
||||
editConfig = new EditConfiguration((String) request.getAttribute("editjson"));
|
||||
EditConfiguration.putConfigInSession(editConfig,session);
|
||||
}
|
||||
|
||||
//Specific validators can be included here
|
||||
|
||||
Model model = (Model) application.getAttribute("jenaOntModel");
|
||||
String objectUri = (String) request.getAttribute("objectUri");
|
||||
|
||||
//for some reason we are comming from the add new and that is working
|
||||
//but we also come from the edit, and that is not working.
|
||||
editConfig.setObject(""); //this will force the edit config to always be an add, never an update
|
||||
|
||||
editConfig.prepareForNonUpdate(model); // we're only adding new, not editing existing
|
||||
|
||||
String subjectUri = vreq.getParameter("subjectUri");
|
||||
String predicateUri = vreq.getParameter("predicateUri");
|
||||
|
||||
String vivoCore = "http://vivoweb.org/ontology/core#";
|
||||
|
||||
//Individual infoResource = vreq.getWebappDaoFactory().getIndividualDao().getIndividualByURI(subjectUri);
|
||||
Individual subject = ((Individual) request.getAttribute("subject"));
|
||||
vreq.setAttribute("subjectName", subject.getName());
|
||||
//Get existing terminology annotations
|
||||
List<Individual> terminologyAnnotationNodes = subject.getRelatedIndividuals(predicateUri);
|
||||
|
||||
|
||||
|
||||
List<String> customJs = new ArrayList<String>(Arrays.asList(JavaScript.JQUERY_UI.path(),
|
||||
JavaScript.CUSTOM_FORM_UTILS.path(),
|
||||
"/js/browserUtils.js",
|
||||
"/edit/forms/js/addTerminology.js"
|
||||
));
|
||||
request.setAttribute("customJs", customJs);
|
||||
|
||||
//no custom css we know of yet
|
||||
|
||||
List<String> customCss = new ArrayList<String>(Arrays.asList(Css.JQUERY_UI.path(),
|
||||
Css.CUSTOM_FORM.path(),
|
||||
"/edit/forms/css/addTerminology.css"
|
||||
));
|
||||
request.setAttribute("customCss", customCss);
|
||||
|
||||
|
||||
%>
|
||||
|
||||
<c:set var="title" value="<em>${subjectName}</em>"/>
|
||||
|
||||
<jsp:include page="${preForm}" />
|
||||
|
||||
<%-- DO NOT CHANGE IDS, CLASSES, OR HTML STRUCTURE ON THIS PAGE WITHOUT UNDERSTANDING THE IMPACT ON THE JAVASCRIPT! --%>
|
||||
<h2>${title}</h2>
|
||||
|
||||
<%@ include file="unsupportedBrowserMessage.jsp" %>
|
||||
|
||||
<div class="noIE67">
|
||||
<h3>Manage Terminology Annotations</h3>
|
||||
|
||||
<ul id="existingTerms" >
|
||||
<%
|
||||
|
||||
int existingTermsCount = terminologyAnnotationNodes.size();
|
||||
|
||||
%>
|
||||
<script type="text/javascript">
|
||||
var existingTermsData = [];
|
||||
</script>
|
||||
|
||||
<%
|
||||
String termLabelUri = vivoCore + "termLabel";
|
||||
for ( Individual termNode : terminologyAnnotationNodes ) {
|
||||
request.setAttribute("termNodeUri", termNode.getURI());
|
||||
//Get label and type only as mirroring authorship where labels but no links for individuals incoldued
|
||||
DataPropertyStatement termLabelStatement = termNode.getDataPropertyStatement(termLabelUri);
|
||||
String termLabel = termLabelStatement.getData();
|
||||
request.setAttribute("termLabel", termLabel);
|
||||
//Possible to get referenced term using object property statement?
|
||||
|
||||
%>
|
||||
<li class="existingTerm">
|
||||
<%-- span.author will be used in the next phase, when we display a message that the author has been
|
||||
removed. That text will replace the a.authorName, which will be removed. --%>
|
||||
<span class="term">
|
||||
<%-- This span is here to assign a width to. We can't assign directly to the a.authorName,
|
||||
for the case when it's followed by an em tag - we want the width to apply to the whole thing. --%>
|
||||
<span class="termWrapper">
|
||||
<span class="termLabel">
|
||||
${termLabel}</span>
|
||||
</span>
|
||||
<c:url var="deleteTermHref" value="/edit/primitiveDelete" />
|
||||
<a href="${deleteTermHref}" class="remove">Remove</a>
|
||||
</span>
|
||||
</li>
|
||||
|
||||
<script type="text/javascript">
|
||||
existingTermsData.push({
|
||||
"termNodeUri": "${termNodeUri}",
|
||||
"termLabel": "${termLabel}"
|
||||
});
|
||||
</script>
|
||||
<%
|
||||
}
|
||||
%>
|
||||
|
||||
</ul>
|
||||
|
||||
<% if (existingTermsCount == 0) { %>
|
||||
<p>There are currently no terms specified.</p>
|
||||
<% } %>
|
||||
|
||||
<div id="showAddForm">
|
||||
<v:input type="submit" value="Add Term" id="showAddFormButton" name="showAddFormButton" cancel="true" cancelLabel="Return" cancelUrl="/individual" />
|
||||
</div>
|
||||
|
||||
<form id="addTerminologyForm" class="customForm" action="<c:url value="/edit/processTerminologyAnnotation"/>" >
|
||||
|
||||
<h3>Search UMLS Terms</h3>
|
||||
|
||||
<p class="inline"><v:input type="text" id="searchTerm" label="Search UMLS" cssClass="acSelector" size="35" />
|
||||
<input type="button" id="searchButton" name="searchButton" value="Search"/>
|
||||
</p>
|
||||
<input type="hidden" id="entryTerm" name="entryTerm" value="" /> <!-- Field value populated by JavaScript -->
|
||||
<input type="hidden" id="referencedTerm" name="referencedTerm" value=""/> <!-- Field value populated by JavaScript -->
|
||||
<input type="hidden" id="termLabel" name="termLabel" value="" /> <!-- Field value populated by JavaScript -->
|
||||
<input type="hidden" id="termType" name="termType" value="" /> <!-- Field value populated by JavaScript -->
|
||||
|
||||
|
||||
|
||||
<div id="selectedTerm" name="selectedTerm" class="acSelection">
|
||||
<%-- RY maybe make this a label and input field. See what looks best. --%>
|
||||
<p class="inline">
|
||||
|
||||
</p>
|
||||
<!-- Field value populated by JavaScript -->
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p class="submit"><v:input type="submit" id="submit" name="submit" value="Add Term" cancel="true" /></p>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
var customFormData = {
|
||||
dataServiceUrl: '${submitSearchUrl}',
|
||||
UMLSCUIURL: '${UMLSCUIURL}'
|
||||
};
|
||||
</script>
|
||||
|
||||
<jsp:include page="${postForm}"/>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue