r62 - in trunk/src/main: java/org/chorem/bow webapp
Author: bbrossaud Date: 2010-06-02 17:55:32 +0200 (Wed, 02 Jun 2010) New Revision: 62 Url: http://chorem.org/repositories/revision/bow/62 Log: modified varaible name Modified: trunk/src/main/java/org/chorem/bow/ControllerServlet.java trunk/src/main/webapp/permanentXml.jsp Modified: trunk/src/main/java/org/chorem/bow/ControllerServlet.java =================================================================== --- trunk/src/main/java/org/chorem/bow/ControllerServlet.java 2010-06-02 15:51:02 UTC (rev 61) +++ trunk/src/main/java/org/chorem/bow/ControllerServlet.java 2010-06-02 15:55:32 UTC (rev 62) @@ -262,7 +262,7 @@ protected void actionOpenSearchSuggestion(HttpServletRequest request, HttpServletResponse response, User user) throws IOException, ServletException { if (user != null) { - String search = request.getParameter("search"); + String search = request.getParameter("searchLine"); if (search != null) { OpenSearchActions openSearchActions = new OpenSearchActions(); WikittyProxy proxy = BowProxy.getInstance(); Modified: trunk/src/main/webapp/permanentXml.jsp =================================================================== --- trunk/src/main/webapp/permanentXml.jsp 2010-06-02 15:51:02 UTC (rev 61) +++ trunk/src/main/webapp/permanentXml.jsp 2010-06-02 15:55:32 UTC (rev 62) @@ -19,6 +19,6 @@ <InputEncoding>inputEncoding</InputEncoding> <Image width="16" height="16" type="image/ico"><%=url%>img/bow.gif</Image> <Url type="text/html" method="GET" template="<%=url%>bow?action=openSearchResult&token=<%=token%>&searchLine={searchTerms}" /> - <Url type="application/x-suggestions+json" method="GET" template="<%=url%>bow?action=openSearchSuggestion&token=<%=token%>&search={searchTerms}" /> + <Url type="application/x-suggestions+json" method="GET" template="<%=url%>bow?action=openSearchSuggestion&token=<%=token%>&searchLine={searchTerms}" /> <moz:SearchForm><%=url%>bow</moz:SearchForm> </OpenSearchDescription> \ No newline at end of file
participants (1)
-
bbrossaudï¼ users.chorem.org