NIHVIVO-3355 change to log level in FormUtils; minor modifications to backend forms
This commit is contained in:
parent
8822dc51ff
commit
7439e02964
3 changed files with 7 additions and 2 deletions
|
@ -284,7 +284,7 @@ public class FormUtils {
|
|||
Class[] paramList = new Class[1];
|
||||
Method setterMethod = getSetterMethod(cls, field, SUPPORTED_TYPE_LIST);
|
||||
if (setterMethod == null) {
|
||||
log.warn("Could not find method set" + field + " on "
|
||||
log.debug("Could not find method set" + field + " on "
|
||||
+ cls.getName());
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -1,12 +1,16 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<%@ taglib prefix="form" uri="http://vitro.mannlib.cornell.edu/edit/tags" %>
|
||||
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
|
||||
|
||||
<tr class="editformcell" id="entityNameTr">
|
||||
<td valign="bottom" id="entityNameTd" colspan="2">
|
||||
<b>Individual Name *</b><br/>
|
||||
<input style="width:80%;" type="text" name="Name" value="<form:value name="Name"/>" />
|
||||
<p class="error"><form:error name="Name"/></p>
|
||||
<c:set var="NameError"><form:error name="Name"/></c:set>
|
||||
<c:if test="${!empty NameError}">
|
||||
<span class="notice"><c:out value="${NameError}"/></span>
|
||||
</c:if>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<%@ taglib prefix="form" uri="http://vitro.mannlib.cornell.edu/edit/tags" %>
|
||||
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
|
||||
|
||||
<tr class="editformcell" id="entityNameTr">
|
||||
<td valign="bottom" id="entityNameTd" colspan="1">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue