NIHVIVO-1489 code change to use same vitroJenaModelMaker across all ingest utilities.
This commit is contained in:
parent
528acb7471
commit
bf2ca1b02f
1 changed files with 3 additions and 1 deletions
|
@ -20,8 +20,10 @@ function init(){
|
|||
<%
|
||||
|
||||
ModelMaker maker = (ModelMaker) request.getSession().getAttribute("vitroJenaModelMaker");
|
||||
getServletContext().setAttribute("vitroJenaModelMaker",maker);
|
||||
if (maker == null) {
|
||||
maker = (ModelMaker) getServletContext().getAttribute("vitroJenaModelMaker");
|
||||
getServletContext().setAttribute("vitroJenaModelMaker",maker);
|
||||
}
|
||||
%>
|
||||
|
||||
|
@ -38,7 +40,7 @@ function init(){
|
|||
</td>
|
||||
<td>
|
||||
<form name="rdbform" action="ingest" method="get">
|
||||
<input type="hidden" name="action" value="listModels"/>
|
||||
<input type="hidden" name="action" value="rdbModels"/>
|
||||
<input type="submit" name="submit" value="RDB Models"/>
|
||||
</form>
|
||||
</td>
|
||||
|
|
Loading…
Add table
Reference in a new issue