Changeset 8271
- Timestamp:
- 03/05/10 16:43:12 (5 months ago)
- Location:
- head/ambra/webapp/src/main
- Files:
-
- 2 modified
- 1 copied
-
resources/struts.xml (modified) (4 diffs)
-
webapp/static/searchError.ftl (copied) (copied from head/ambra/webapp/src/main/webapp/static/searchParseError.ftl) (2 diffs)
-
webapp/static/searchParseError.ftl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
head/ambra/webapp/src/main/resources/struts.xml
r8245 r8271 221 221 </package> 222 222 223 <!-- 224 OLD SEARCH 225 TODO: remove 226 --> 223 227 <package name="search" extends="default" namespace="/search2"> 224 228 … … 259 263 260 264 <!-- 261 Copy of the "search" package to act as a starting point for re-engineering the search functionality.265 Solr search 262 266 --> 263 267 <package name="search2" extends="default" namespace="/search"> … … 278 282 <param name="templateFile">/search2/searchResults.ftl</param> 279 283 </result> 280 <result name=" badquery" type="ambraFreemarker">284 <result name="error" type="ambraFreemarker"> 281 285 <param name="status">500</param> 282 <param name="templateFile">/static/search ParseError.ftl</param>286 <param name="templateFile">/static/searchError.ftl</param> 283 287 </result> 284 288 </action> … … 291 295 <param name="templateFile">/search2/searchResults.ftl</param> 292 296 </result> 293 <result name=" badquery" type="ambraFreemarker">297 <result name="error" type="ambraFreemarker"> 294 298 <param name="status">500</param> 295 <param name="templateFile">/static/search ParseError.ftl</param>299 <param name="templateFile">/static/searchError.ftl</param> 296 300 </result> 297 301 </action> -
head/ambra/webapp/src/main/webapp/static/searchError.ftl
r7658 r8271 3 3 $Id$ 4 4 5 Copyright (c) 2007-20 09by Topaz, Inc.5 Copyright (c) 2007-2010 by Topaz, Inc. 6 6 http://topazproject.org 7 7 … … 21 21 <@s.url action="searchHelp.action" namespace="/static" includeParams="none" id="searchHelp"/> 22 22 <h1>Search Error</h1> 23 <p>Sorry, the query you entered could not be parsed. Please press the back button and24 check your syntax.If you need additional help, please visit our23 <p>Sorry, search results are not available at the moment. Please try again soon.</p> 24 <p>If you need additional help, please visit our 25 25 <a href="${searchHelp}#badCharacters">search help</a> page.</p> 26 26 </div> -
head/ambra/webapp/src/main/webapp/static/searchParseError.ftl
r7658 r8271 18 18 limitations under the License. 19 19 --> 20 <!-- TODO: Old search error page. Remove. --> 20 21 <div id="content" class="pageerror"> 21 22 <@s.url action="searchHelp.action" namespace="/static" includeParams="none" id="searchHelp"/>
