You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by je...@apache.org on 2004/11/23 15:35:12 UTC

svn commit: r106304 - /cocoon/trunk/src/blocks/querybean/samples/flow/query.js /cocoon/trunk/src/blocks/querybean/samples/screens/history.xml

Author: jeremy
Date: Tue Nov 23 06:35:10 2004
New Revision: 106304

Modified:
   cocoon/trunk/src/blocks/querybean/samples/flow/query.js
   cocoon/trunk/src/blocks/querybean/samples/screens/history.xml
Log:
fixes to Query History in the querybean block

Modified: cocoon/trunk/src/blocks/querybean/samples/flow/query.js
Url: http://svn.apache.org/viewcvs/cocoon/trunk/src/blocks/querybean/samples/flow/query.js?view=diff&rev=106304&p1=cocoon/trunk/src/blocks/querybean/samples/flow/query.js&r1=106303&p2=cocoon/trunk/src/blocks/querybean/samples/flow/query.js&r2=106304
==============================================================================
--- cocoon/trunk/src/blocks/querybean/samples/flow/query.js	(original)
+++ cocoon/trunk/src/blocks/querybean/samples/flow/query.js	Tue Nov 23 06:35:10 2004
@@ -25,7 +25,7 @@
 // display the User's Search History
 function showHistory() {
 	var history = new QueryHistory(cocoon.parameters["history"]);
-	cocoon.sendPage(cocoon.parameters["screen"], {queries: history.list()});
+	cocoon.sendPage(cocoon.parameters["screen"], {history: history.list()});
 }
 
 // erase the User's Search History

Modified: cocoon/trunk/src/blocks/querybean/samples/screens/history.xml
Url: http://svn.apache.org/viewcvs/cocoon/trunk/src/blocks/querybean/samples/screens/history.xml?view=diff&rev=106304&p1=cocoon/trunk/src/blocks/querybean/samples/screens/history.xml&r1=106303&p2=cocoon/trunk/src/blocks/querybean/samples/screens/history.xml&r2=106304
==============================================================================
--- cocoon/trunk/src/blocks/querybean/samples/screens/history.xml	(original)
+++ cocoon/trunk/src/blocks/querybean/samples/screens/history.xml	Tue Nov 23 06:35:10 2004
@@ -74,7 +74,7 @@
 											<span class="query.criterion-match" title="local:criterion.match.hint" i18n:attr="title">
 												<i18n:text i18n:catalogue="local">search.${crit.match}.match</i18n:text>
 											</span>
-											<span class="query.criterion-value" title="local:criterion.value.hint" i18n:attr="title">“${crit.value}”</span>
+											<span class="query.criterion-value" title="local:criterion.value.hint" i18n:attr="title">“${crit.term}”</span>
 										</li>
 									</jx:forEach>
 								</ul>