Reimplement search controller and search results display template in Freemarker. Error cases not handled yet.

This commit is contained in:
rjy7 2010-08-27 15:52:30 +00:00
parent 3dbbf13cd7
commit 73024a4d03
13 changed files with 1042 additions and 26 deletions

View file

@ -7,6 +7,7 @@
<%@ page import="edu.cornell.mannlib.vitro.webapp.beans.Portal" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ page errorPage="/error.jsp"%>
<%
/***********************************************
Display Paged Search Results
@ -153,7 +154,7 @@ if( request.getAttribute("types") != null ){
String basePageUrl =
request.getContextPath() + "/search?querytext="
+URLEncoder.encode(request.getParameter("querytext"),"UTF-8") +
request.getAttribute("refinment");
request.getAttribute("refinement");
out.println("<div class='searchpages'>");
out.println("Pages:");