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/18 17:45:52 UTC

svn commit: r76249 - cocoon/trunk/src/blocks/querybean/samples/screens

Author: jeremy
Date: Thu Nov 18 08:45:51 2004
New Revision: 76249

Modified:
   cocoon/trunk/src/blocks/querybean/samples/screens/history.xml
Log:
still get a null history from a problem within flow with missing Context.javaToJS() call, I think ....

Modified: cocoon/trunk/src/blocks/querybean/samples/screens/history.xml
==============================================================================
--- cocoon/trunk/src/blocks/querybean/samples/screens/history.xml	(original)
+++ cocoon/trunk/src/blocks/querybean/samples/screens/history.xml	Thu Nov 18 08:45:51 2004
@@ -23,7 +23,7 @@
 	<title><i18n:text i18n:catalogue="local">history.page.title</i18n:text></title>
 	<content>
 		<jx:choose>
-			<jx:when test="${history.size()!=0}">
+			<jx:when test="${history != null &amp;&amp; history.size()!=0}">
 				<p class="history.title">
 					<i18n:text i18n:catalogue="local">history.queries.title</i18n:text>: 
 					<span class="history.count"><jx:out value="${history.size()}"/></span>