NIHVIVO-1459 Add annotation for foaf:Person custom display view. Add template individual--foaf-person.ftl. Removed unused templates.

This commit is contained in:
rjy7 2011-01-04 16:38:22 +00:00
parent ab927b494a
commit d292100f8b
4 changed files with 4 additions and 390 deletions

View file

@ -181,6 +181,10 @@ public class EntityController extends VitroHttpServlet {
indiv.getVClassURI() + ": no class found with that URI");
}
if (customView!=null) {
// RY Transitional hack: ignore Freemarker templates so we can load old individual page with default display view
if (customView.endsWith(".ftl")) {
customView = null;
}
// insert test for whether a css files of the same name exists, and populate the customCss string for use when construction the header
}
String netid = iwDao.getNetId(indiv.getURI());