cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r382125 - /cocoon/trunk/cocoon-ajax/cocoon-ajax-impl/src/main/java/org/apache/cocoon/ajax/BrowserUpdateTransformer.java
Date Wed, 01 Mar 2006 19:08:41 GMT
Author: antonio
Date: Wed Mar  1 11:08:40 2006
New Revision: 382125

URL: http://svn.apache.org/viewcvs?rev=382125&view=rev
Log:
Applied improved patch for COCOON-1786. Thanks to Eric Meyer.

Modified:
    cocoon/trunk/cocoon-ajax/cocoon-ajax-impl/src/main/java/org/apache/cocoon/ajax/BrowserUpdateTransformer.java

Modified: cocoon/trunk/cocoon-ajax/cocoon-ajax-impl/src/main/java/org/apache/cocoon/ajax/BrowserUpdateTransformer.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/cocoon-ajax/cocoon-ajax-impl/src/main/java/org/apache/cocoon/ajax/BrowserUpdateTransformer.java?rev=382125&r1=382124&r2=382125&view=diff
==============================================================================
--- cocoon/trunk/cocoon-ajax/cocoon-ajax-impl/src/main/java/org/apache/cocoon/ajax/BrowserUpdateTransformer.java
(original)
+++ cocoon/trunk/cocoon-ajax/cocoon-ajax-impl/src/main/java/org/apache/cocoon/ajax/BrowserUpdateTransformer.java
Wed Mar  1 11:08:40 2006
@@ -54,6 +54,8 @@
 
         Request request = ObjectModelHelper.getRequest(objectModel);
         this.ajaxRequest = request.getParameter(AJAXMODE_PARAM) != null;
+        this.replaceDepth = 0;
+        this.inUpdateTag = false;
     }
 
     public void setDocumentLocator(Locator locator) {
@@ -179,8 +181,7 @@
 
     public void recycle() {
         super.recycle();
-        this.replaceDepth = 0;
-        this.inUpdateTag = false;
+        this.locator = null;
         this.updateTagId = null;
     }
 }



Mime
View raw message