Reimplement search controller and search results display template in Freemarker. Error cases not handled yet.
This commit is contained in:
parent
3dbbf13cd7
commit
73024a4d03
13 changed files with 1042 additions and 26 deletions
|
@ -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:");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue