RSS feed
<< Editing mov files with Windows Movie Maker | Home | Drinking, Dancing and Debauchery >>

Pebble search

This change to Pebble 2.1 avoids the Confirm dialog that appears when users go back to the results of the search action. The dialog reads as follows.

The page you are trying to view contains POSTDATA that has expired from cache. If you resend data, any action the form carried out (such as search or online purchase) will be repeated. To resend data, click OK. Otherwise, click Cancel."
---  $CATALINA_HOME/webapps/pebble/WEB-INF/fragments/search.jspf.rel     2007-05-14 19:58:10.000000000 -0700
+++ $CATALINA_HOME/webapps/pebble/WEB-INF/fragments/search.jspf 2007-06-10 10:26:55.876366217 -0700
@@ -1,4 +1,4 @@
-<form name="searchForm" method="post" action="search.action" accept-charset="<c:out value="${blog.characterEncoding}"/>">
+<form name="searchForm" method="get" action="search.action" accept-charset="<c:out value="${blog.characterEncoding}"/>">
   <input type="text" name="query" size="15" value="" />
   <input type="submit" value="<fmt:message key="common.search" />" />
 </form>
\ No newline at end of file

Tags :



Add a comment Send a TrackBack
Home