I fixed the <util:cacheable/>. Can someone please apply the patch?
Thanks
--
Torsten
Index: components/language/markup/xsp/java/util.xsl
===================================================================
RCS file: 
/home/cvspublic/xml-cocoon2/src/org/apache/cocoon/components/language/markup/xsp/java/util.xsl,v

retrieving revision 1.4
diff -u -r1.4 util.xsl
--- components/language/markup/xsp/java/util.xsl        2001/07/07 11:43:20     1.4
+++ components/language/markup/xsp/java/util.xsl        2001/07/12 08:16:51
@@ -72,18 +72,19 @@
         
<xsp:include>org.apache.cocoon.components.language.markup.xsp.XSPUtil</xsp:include>
       </xsp:structure>
 
+      <xsl:if test="util:cacheable">
+       <xsp:logic>
+        public boolean hasContentChanged( org.apache.cocoon.environment.Request 
+request ) {
+          return false;
+        }
+       </xsp:logic>
+      </xsl:if>
+
       <xsl:apply-templates/>
     </xsp:page>
   </xsl:template>
 
-  <!-- Mark page as cacheable -->
-  <xsl:template match="xsp:structure/util:cacheable">
-    <xsp:logic>
-      public boolean isCacheable (Request request) {
-        return true;
-      }
-    </xsp:logic>
-  </xsl:template>
+  <xsl:template match="util:cacheable"/>
 
   <!-- Multiline string (based on code by JQ)  - DOESN'T WORK YET!
   <xsl:template match="util:string">
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to