Fix comments
This commit is contained in:
parent
d671cc9716
commit
9caa5c437c
1 changed files with 4 additions and 5 deletions
|
@ -98,11 +98,9 @@ public WebappDaoFactory getUnfilteredDaoFactory() {
|
||||||
if( subject == null ) throw new Error("could not find subject " + subjectUri);
|
if( subject == null ) throw new Error("could not find subject " + subjectUri);
|
||||||
request.setAttribute("subjectName",subject.getName());
|
request.setAttribute("subjectName",subject.getName());
|
||||||
|
|
||||||
// Put keys statement_x into map as x => value
|
// Get the statement data to display
|
||||||
// get the fm config
|
// rjy7 Alternative implementation: have the template put the markup into a url or form param
|
||||||
// pass the statement map to the template
|
// which can then just be spit out here.
|
||||||
// put into string
|
|
||||||
// output string in form
|
|
||||||
String templateName = request.getParameter("templateName");
|
String templateName = request.getParameter("templateName");
|
||||||
Map params = request.getParameterMap();
|
Map params = request.getParameterMap();
|
||||||
Map<String, String> statement = new HashMap<String, String>();
|
Map<String, String> statement = new HashMap<String, String>();
|
||||||
|
@ -115,6 +113,7 @@ public WebappDaoFactory getUnfilteredDaoFactory() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Process the statement data through the template to create the display string
|
||||||
String statementDisplay = null;
|
String statementDisplay = null;
|
||||||
if (! statement.isEmpty()) {
|
if (! statement.isEmpty()) {
|
||||||
Map<String, Object> map = new HashMap<String, Object>();
|
Map<String, Object> map = new HashMap<String, Object>();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue