Merge branch 'develop' of git+ssh://github.com/vivo-project/Vitro into develop
This commit is contained in:
commit
a909cda3ee
1 changed files with 11 additions and 7 deletions
|
@ -46,7 +46,14 @@ public class ListVClassWebappsController extends FreemarkerHttpServlet {
|
||||||
|
|
||||||
body.put("displayOption", "all");
|
body.put("displayOption", "all");
|
||||||
body.put("pageTitle", "All Classes");
|
body.put("pageTitle", "All Classes");
|
||||||
|
|
||||||
|
if ( vreq.getParameter("propertyURI") != null ) {
|
||||||
body.put("propertyURI", vreq.getParameter("propertyURI"));
|
body.put("propertyURI", vreq.getParameter("propertyURI"));
|
||||||
|
}
|
||||||
|
|
||||||
|
List<VClass> classes = null;
|
||||||
|
|
||||||
|
if (vreq.getParameter("showPropertyRestrictions") != null) {
|
||||||
if ( vreq.getParameter("propertyType").equals("object") ) {
|
if ( vreq.getParameter("propertyType").equals("object") ) {
|
||||||
body.put("editController", "propertyEdit?uri=");
|
body.put("editController", "propertyEdit?uri=");
|
||||||
}
|
}
|
||||||
|
@ -54,9 +61,6 @@ public class ListVClassWebappsController extends FreemarkerHttpServlet {
|
||||||
body.put("editController", "datapropEdit?uri=");
|
body.put("editController", "datapropEdit?uri=");
|
||||||
}
|
}
|
||||||
|
|
||||||
List<VClass> classes = null;
|
|
||||||
|
|
||||||
if (vreq.getParameter("showPropertyRestrictions") != null) {
|
|
||||||
body.put("propertyName", vreq.getParameter("propertyName"));
|
body.put("propertyName", vreq.getParameter("propertyName"));
|
||||||
PropertyDao pdao = vreq.getLanguageNeutralWebappDaoFactory().getObjectPropertyDao();
|
PropertyDao pdao = vreq.getLanguageNeutralWebappDaoFactory().getObjectPropertyDao();
|
||||||
classes = pdao.getClassesWithRestrictionOnProperty(vreq.getParameter("propertyURI"));
|
classes = pdao.getClassesWithRestrictionOnProperty(vreq.getParameter("propertyURI"));
|
||||||
|
|
Loading…
Add table
Reference in a new issue