diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/search/controller/AutocompleteController.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/search/controller/AutocompleteController.java index 730ad4a8c..edb1ca313 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/search/controller/AutocompleteController.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/search/controller/AutocompleteController.java @@ -56,14 +56,9 @@ import freemarker.template.Configuration; /** * AutocompleteController is used to generate autocomplete and select element content - * through a Lucene search. The search logic is copied from AutocompleteController. + * through a Lucene search. */ -/* rjy7 We should have a SearchController that is subclassed by both AutocompleteController - * and AjaxSearchController, so the methods don't all have to be copied into both places. - * The parent SearchController should extend FreeMarkerHttpServlet. Can only be done - * once AutocompleteController has been moved to FreeMarker. - */ public class AutocompleteController extends FreeMarkerHttpServlet implements Searcher{ private static final long serialVersionUID = 1L; diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/web/jsptags/InputElementFormattingTag.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/web/jsptags/InputElementFormattingTag.java index bfeb39481..504970694 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/web/jsptags/InputElementFormattingTag.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/web/jsptags/InputElementFormattingTag.java @@ -448,6 +448,7 @@ public class InputElementFormattingTag extends TagSupport { out.print(""); if (definitionTags) { out.print(""); } out.println(); + // Handle hidden inputs where Javascript writes a value that needs to be returned with an invalid submission. } else if( getType().equalsIgnoreCase("hidden")) { String valueStr = doValue(editConfig, editSub); if (definitionTags) { out.print("
"); }