cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r582952 - /cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-impl/src/main/java/org/apache/cocoon/samples/EventAwareGenerator.java
Date Mon, 08 Oct 2007 20:15:22 GMT
Author: felixk
Date: Mon Oct  8 13:15:21 2007
New Revision: 582952

URL: http://svn.apache.org/viewvc?rev=582952&view=rev
Log:
objectModel has private access in JXTemplateGenerator therefore use the getter method for
objectModel

Modified:
    cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-impl/src/main/java/org/apache/cocoon/samples/EventAwareGenerator.java

Modified: cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-impl/src/main/java/org/apache/cocoon/samples/EventAwareGenerator.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-impl/src/main/java/org/apache/cocoon/samples/EventAwareGenerator.java?rev=582952&r1=582951&r2=582952&view=diff
==============================================================================
--- cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-impl/src/main/java/org/apache/cocoon/samples/EventAwareGenerator.java
(original)
+++ cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-impl/src/main/java/org/apache/cocoon/samples/EventAwareGenerator.java
Mon Oct  8 13:15:21 2007
@@ -48,7 +48,7 @@
      *         is currently not cacheable.
      */
     public Serializable getKey() {
-        final Request request = ObjectModelHelper.getRequest(this.objectModel);
+        final Request request = ObjectModelHelper.getRequest(this.getObjectModel());
         // for our test, pages having the same value of "pageKey" will share
         // the same cache location
         String key = request.getParameter("pageKey") ;
@@ -67,7 +67,7 @@
      *         component is currently not cacheable.
      */
     public SourceValidity getValidity() {
-        final Request request = ObjectModelHelper.getRequest(this.objectModel);
+        final Request request = ObjectModelHelper.getRequest(this.getObjectModel());
         String key = request.getParameter("pageKey") ;
         return new EventValidity(
                    new NamedEvent(



Mime
View raw message