Removing some debug output
This commit is contained in:
parent
218d3dfa3c
commit
c9c3bf4e17
4 changed files with 2 additions and 5 deletions
|
@ -107,7 +107,6 @@ public class PropertyEditLinks extends TagSupport{
|
||||||
}
|
}
|
||||||
|
|
||||||
Individual entity = (Individual)pageContext.getRequest().getAttribute("entity");
|
Individual entity = (Individual)pageContext.getRequest().getAttribute("entity");
|
||||||
|
|
||||||
LinkStruct[] links = null;
|
LinkStruct[] links = null;
|
||||||
|
|
||||||
//get context prefix needs to end with a slash like "/vivo/" or "/"
|
//get context prefix needs to end with a slash like "/vivo/" or "/"
|
||||||
|
|
|
@ -81,7 +81,6 @@ public static Log log = LogFactory.getLog("edu.cornell.mannlib.vitro.webapp.jsp.
|
||||||
}else{
|
}else{
|
||||||
log.debug("Found editform in http parameters.");
|
log.debug("Found editform in http parameters.");
|
||||||
}
|
}
|
||||||
|
|
||||||
request.setAttribute("subjectUri", subjectUri);
|
request.setAttribute("subjectUri", subjectUri);
|
||||||
request.setAttribute("subjectUriJson", MiscWebUtils.escape(subjectUri));
|
request.setAttribute("subjectUriJson", MiscWebUtils.escape(subjectUri));
|
||||||
if (predicateUri != null) {
|
if (predicateUri != null) {
|
||||||
|
@ -99,7 +98,6 @@ public static Log log = LogFactory.getLog("edu.cornell.mannlib.vitro.webapp.jsp.
|
||||||
request.setAttribute("objectUri", objectUri);
|
request.setAttribute("objectUri", objectUri);
|
||||||
request.setAttribute("objectUriJson", MiscWebUtils.escape(objectUri));
|
request.setAttribute("objectUriJson", MiscWebUtils.escape(objectUri));
|
||||||
}
|
}
|
||||||
|
|
||||||
if( typeOfNew != null )
|
if( typeOfNew != null )
|
||||||
request.setAttribute("typeOfNew", typeOfNew);
|
request.setAttribute("typeOfNew", typeOfNew);
|
||||||
|
|
||||||
|
@ -182,7 +180,6 @@ public static Log log = LogFactory.getLog("edu.cornell.mannlib.vitro.webapp.jsp.
|
||||||
boolean isForwardToCreateNew =
|
boolean isForwardToCreateNew =
|
||||||
( objectProp != null && objectProp.getOfferCreateNewOption() && objectProp.getSelectFromExisting() == false)
|
( objectProp != null && objectProp.getOfferCreateNewOption() && objectProp.getSelectFromExisting() == false)
|
||||||
|| ( objectProp != null && objectProp.getOfferCreateNewOption() && "create".equals(command));
|
|| ( objectProp != null && objectProp.getOfferCreateNewOption() && "create".equals(command));
|
||||||
|
|
||||||
if (isForwardToCreateNew) {
|
if (isForwardToCreateNew) {
|
||||||
|
|
||||||
request.setAttribute("isForwardToCreateNew", new Boolean(true));
|
request.setAttribute("isForwardToCreateNew", new Boolean(true));
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
VClass rangeClass = wdf.getVClassDao().getVClassByURI( RANGE_CLASS );
|
VClass rangeClass = wdf.getVClassDao().getVClassByURI( RANGE_CLASS );
|
||||||
if( rangeClass == null ) log.debug("Cannot find class for range for property."
|
if( rangeClass == null ) log.debug("Cannot find class for range for property."
|
||||||
+ " Looking for " + RANGE_CLASS);
|
+ " Looking for " + RANGE_CLASS);
|
||||||
|
|
||||||
request.setAttribute("rangeClassUriJson", MiscWebUtils.escape(RANGE_CLASS));
|
request.setAttribute("rangeClassUriJson", MiscWebUtils.escape(RANGE_CLASS));
|
||||||
|
|
||||||
request.setAttribute("predicateUriJson", MiscWebUtils.escape(PREDICATE));
|
request.setAttribute("predicateUriJson", MiscWebUtils.escape(PREDICATE));
|
||||||
|
|
Loading…
Add table
Reference in a new issue