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>