| Line 83... |
Line 83... |
| 83 |
htmlSnippets.put("HEADER", pageLoader.getHeaderHtml(userinfo.isLoggedIn(), userinfo.getNameOfUser()));
|
83 |
htmlSnippets.put("HEADER", pageLoader.getHeaderHtml(userinfo.isLoggedIn(), userinfo.getNameOfUser()));
|
| 84 |
htmlSnippets.put("MAIN_MENU", pageLoader.getMainMenuHtml());
|
84 |
htmlSnippets.put("MAIN_MENU", pageLoader.getMainMenuHtml());
|
| 85 |
htmlSnippets.put("SEARCH_BAR", pageLoader.getSearchBarHtml(userinfo.getTotalItems(), 10000));
|
85 |
htmlSnippets.put("SEARCH_BAR", pageLoader.getSearchBarHtml(userinfo.getTotalItems(), 10000));
|
| 86 |
htmlSnippets.put("CUSTOMER_SERVICE", pageLoader.getCustomerServiceHtml());
|
86 |
htmlSnippets.put("CUSTOMER_SERVICE", pageLoader.getCustomerServiceHtml());
|
| 87 |
htmlSnippets.put("MY_RESEARCH", pageLoader.getMyResearchHtml(userinfo.getUserId(), userinfo.isSessionId()));
|
87 |
htmlSnippets.put("MY_RESEARCH", pageLoader.getMyResearchHtml(userinfo.getUserId(), userinfo.isSessionId()));
|
| - |
|
88 |
htmlSnippets.put("BROWSE_HISTORY", pageLoader.getBrowseHistoryHtml(userinfo.getUserId(), userinfo.isSessionId()));
|
| 88 |
htmlSnippets.put("FOOTER",pageLoader.getFooterHtml());
|
89 |
htmlSnippets.put("FOOTER",pageLoader.getFooterHtml());
|
| 89 |
|
90 |
|
| 90 |
htmlSnippets.put("CATEGORY_HEADER", pageLoader.getCategoryHeaderSnippet());
|
91 |
htmlSnippets.put("CATEGORY_HEADER", pageLoader.getCategoryHeaderSnippet());
|
| 91 |
htmlSnippets.put("MAIN_BANNER", "");
|
92 |
htmlSnippets.put("MAIN_BANNER", "");
|
| 92 |
htmlSnippets.put("SIDE_BANNER", "");
|
93 |
htmlSnippets.put("SIDE_BANNER", "");
|
| Line 135... |
Line 136... |
| 135 |
if(this.request.getParameter("max-price") != null){
|
136 |
if(this.request.getParameter("max-price") != null){
|
| 136 |
this.maxPrice = (new Double(this.request.getParameter("max-price")));
|
137 |
this.maxPrice = (new Double(this.request.getParameter("max-price")));
|
| 137 |
url= url + "&max-price=" + this.request.getParameter("max-price");
|
138 |
url= url + "&max-price=" + this.request.getParameter("max-price");
|
| 138 |
}
|
139 |
}
|
| 139 |
|
140 |
|
| 140 |
SolrSearchService search = new SolrSearchService(query, newfqrys, facetDefIDs, (page-1)*windowSize, windowSize, minPrice, maxPrice);
|
141 |
SolrSearchService search = new SolrSearchService(query, newfqrys, facetDefIDs, (page-1)*windowSize, windowSize, minPrice, maxPrice, 10000, null);
|
| 141 |
this.results = new LinkedHashMap<String, String[]>();
|
142 |
this.results = new LinkedHashMap<String, String[]>();
|
| 142 |
this.results = search.getResultMap();
|
143 |
this.results = search.getResultMap();
|
| 143 |
|
144 |
|
| 144 |
|
145 |
|
| 145 |
this.facets = new LinkedHashMap<String, List<String[]>>();
|
146 |
this.facets = new LinkedHashMap<String, List<String[]>>();
|
| Line 238... |
Line 239... |
| 238 |
}
|
239 |
}
|
| 239 |
|
240 |
|
| 240 |
public String getMyResearchSnippet(){
|
241 |
public String getMyResearchSnippet(){
|
| 241 |
return htmlSnippets.get("MY_RESEARCH");
|
242 |
return htmlSnippets.get("MY_RESEARCH");
|
| 242 |
}
|
243 |
}
|
| - |
|
244 |
|
| - |
|
245 |
public String getBrowseHistorySnippet(){
|
| - |
|
246 |
return htmlSnippets.get("BROWSE_HISTORY");
|
| 243 |
|
247 |
}
|
| - |
|
248 |
|
| 244 |
public String getFooterSnippet(){
|
249 |
public String getFooterSnippet(){
|
| 245 |
return htmlSnippets.get("FOOTER");
|
250 |
return htmlSnippets.get("FOOTER");
|
| 246 |
}
|
251 |
}
|
| 247 |
|
252 |
|
| 248 |
public String getJsFileSnippet(){
|
253 |
public String getJsFileSnippet(){
|