sylvain 2003/09/07 14:30:24
Modified: src/blocks/woody/java/org/apache/cocoon/woody/formmodel
Repeater.java
Log:
Keep the current size if the size parameter is not present.
This almost avoids the need for <wt:repeater-size> (the only need I see is
when rows are added client-side)
Revision Changes Path
1.9 +0 -2
cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/Repeater.java
Index: Repeater.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/Repeater.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- Repeater.java 26 Aug 2003 13:55:46 -0000 1.8
+++ Repeater.java 7 Sep 2003 21:30:24 -0000 1.9
@@ -148,8 +148,6 @@
removeRow(i);
}
}
- } else {
- rows.clear();
}
// let the rows read their data from the request