NIHVIVO-3129 VIVO text appearing on RDF Export screen in vitro deployment

This commit is contained in:
stellamit 2011-10-24 22:04:52 +00:00
parent f346789445
commit e1e5fba67f
2 changed files with 8 additions and 3 deletions

View file

@ -21,6 +21,11 @@ public class JenaOutputUtils {
public static void setNameSpacePrefixes(Model model, WebappDaoFactory wadf) {
if (model == null) {
log.warn("input model is null");
return;
}
Map<String,String> prefixes = new HashMap<String,String>();
List<Ontology> ontologies = wadf.getOntologyDao().getAllOntologies();
Iterator<Ontology> iter = ontologies.iterator();

View file

@ -14,9 +14,9 @@
<form action="" method="get">
<ul>
<li style="list-style-type:none;"><input type="radio" name="subgraph" checked="checked" value="full"/> Entire RDF model for the VIVO application (TBox and ABox, including application metadata)</li>
<li style="list-style-type:none;"><input type="radio" name="subgraph" value="tbox"/> Entire ontology (TBox) for the VIVO application</li>
<li style="list-style-type:none;"><input type="radio" name="subgraph" value="abox"/> All Instance data (ABox) for the VIVO application</li>
<li style="list-style-type:none;"><input type="radio" name="subgraph" checked="checked" value="full"/> Entire RDF model for the application (TBox and ABox, including application metadata)</li>
<li style="list-style-type:none;"><input type="radio" name="subgraph" value="tbox"/> Entire ontology (TBox) for the application</li>
<li style="list-style-type:none;"><input type="radio" name="subgraph" value="abox"/> All Instance data (ABox) for the application</li>
<%VitroRequest vreq = new VitroRequest(request);
OntologyDao daoObj = vreq.getFullWebappDaoFactory().getOntologyDao();
List ontologiesObj = daoObj.getAllOntologies();