cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r156250 - in cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/binding: RepeaterJXPathBinding.java SimpleRepeaterJXPathBinding.java TempRepeaterJXPathBinding.java
Date Sat, 05 Mar 2005 14:48:43 GMT
Author: cziegeler
Date: Sat Mar  5 06:48:43 2005
New Revision: 156250

URL: http://svn.apache.org/viewcvs?view=rev&rev=156250
Log:
Remove use of deprecated methods

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/binding/RepeaterJXPathBinding.java
    cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/binding/SimpleRepeaterJXPathBinding.java
    cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/binding/TempRepeaterJXPathBinding.java

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/binding/RepeaterJXPathBinding.java
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/binding/RepeaterJXPathBinding.java?view=diff&r1=156249&r2=156250
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/binding/RepeaterJXPathBinding.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/binding/RepeaterJXPathBinding.java
Sat Mar  5 06:48:43 2005
@@ -102,7 +102,7 @@
             throw new BindingException("The repeater with the ID [" + this.repeaterId
                     + "] referenced in the binding does not exist in the form definition.");
         }
-        repeater.removeRows();
+        repeater.clear();
         int initialSize = repeater.getSize();
 
         // build a jxpath iterator for pointers

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/binding/SimpleRepeaterJXPathBinding.java
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/binding/SimpleRepeaterJXPathBinding.java?view=diff&r1=156249&r2=156250
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/binding/SimpleRepeaterJXPathBinding.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/binding/SimpleRepeaterJXPathBinding.java
Sat Mar  5 06:48:43 2005
@@ -63,7 +63,7 @@
         Repeater repeater = (Repeater) selectWidget(frmModel, this.repeaterId);
 
         if (this.clearOnLoad) {
-            repeater.removeRows();
+            repeater.clear();
         }
 
         // Move to repeater context

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/binding/TempRepeaterJXPathBinding.java
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/binding/TempRepeaterJXPathBinding.java?view=diff&r1=156249&r2=156250
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/binding/TempRepeaterJXPathBinding.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/forms/java/org/apache/cocoon/forms/binding/TempRepeaterJXPathBinding.java
Sat Mar  5 06:48:43 2005
@@ -87,7 +87,7 @@
  
         // Start by clearing the repeater, if necessary.
         if (this.clearOnLoad) {
-            repeater.removeRows();
+            repeater.clear();
         }
 
         // Find the location of the repeater data.



Mime
View raw message