Additional files for NIHVIVO-121

This commit is contained in:
bdc34 2010-03-16 22:28:30 +00:00
parent 014d9a3762
commit 9ae82a7fb3

View file

@ -171,7 +171,7 @@ public static Log log = LogFactory.getLog("edu.cornell.mannlib.vitro.webapp.jsp.
String customForm = null; String customForm = null;
String form = DEFAULT_OBJ_FORM; String form = DEFAULT_OBJ_FORM;
if( predicateUri != null ){ if( predicateUri != null && ( formParam == null || formParam.length() == 0 ) ){
objectProp = wdf.getObjectPropertyDao().getObjectPropertyByURI(predicateUri); objectProp = wdf.getObjectPropertyDao().getObjectPropertyByURI(predicateUri);
customForm = objectProp.getCustomEntryForm(); customForm = objectProp.getCustomEntryForm();
request.setAttribute("predicate", objectProp); request.setAttribute("predicate", objectProp);