cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject svn commit: r327865 - in /cocoon/blocks/forms/trunk: java/org/apache/cocoon/forms/util/ContainerWidgetAsMap.java java/org/apache/cocoon/forms/util/RepeaterAsList.java samples/sql/flow/flow.js
Date Sun, 23 Oct 2005 22:03:13 GMT
Author: sylvain
Date: Sun Oct 23 15:03:06 2005
New Revision: 327865

URL: http://svn.apache.org/viewcvs?rev=327865&view=rev
Log:
keys should not be converted by default, jdbc is not the only use case (wearing my asbestos
underwear)

Modified:
    cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/util/ContainerWidgetAsMap.java
    cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/util/RepeaterAsList.java
    cocoon/blocks/forms/trunk/samples/sql/flow/flow.js

Modified: cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/util/ContainerWidgetAsMap.java
URL: http://svn.apache.org/viewcvs/cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/util/ContainerWidgetAsMap.java?rev=327865&r1=327864&r2=327865&view=diff
==============================================================================
--- cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/util/ContainerWidgetAsMap.java
(original)
+++ cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/util/ContainerWidgetAsMap.java
Sun Oct 23 15:03:06 2005
@@ -65,10 +65,10 @@
     }
 
     /**
-     * Same as <code>ContainerWidgetAsMap(container, true)</code>
+     * Same as <code>ContainerWidgetAsMap(container, false)</code>
      */
     public ContainerWidgetAsMap(AbstractContainerWidget container) {
-        this(container, true);
+        this(container, false);
     }
 
     /**

Modified: cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/util/RepeaterAsList.java
URL: http://svn.apache.org/viewcvs/cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/util/RepeaterAsList.java?rev=327865&r1=327864&r2=327865&view=diff
==============================================================================
--- cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/util/RepeaterAsList.java (original)
+++ cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/util/RepeaterAsList.java Sun Oct
23 15:03:06 2005
@@ -40,7 +40,7 @@
 public class RepeaterAsList extends AbstractList {
     
     private Repeater repeater;
-    private boolean lowerCase = true;
+    private boolean lowerCase;
 
     /**
      * Create a <code>List<code> view around a repeater. The <code>keysToLowerCase</code>
parameter
@@ -56,10 +56,10 @@
     }
     
     /**
-     * Same as <code>RepeaterAsList(repeater, true)</code>.
+     * Same as <code>RepeaterAsList(repeater, false)</code>.
      */
     public RepeaterAsList(Repeater repeater) {
-        this(repeater, true);
+        this(repeater, false);
     }
 
     /**

Modified: cocoon/blocks/forms/trunk/samples/sql/flow/flow.js
URL: http://svn.apache.org/viewcvs/cocoon/blocks/forms/trunk/samples/sql/flow/flow.js?rev=327865&r1=327864&r2=327865&view=diff
==============================================================================
--- cocoon/blocks/forms/trunk/samples/sql/flow/flow.js (original)
+++ cocoon/blocks/forms/trunk/samples/sql/flow/flow.js Sun Oct 23 15:03:06 2005
@@ -28,11 +28,11 @@
 // Add asMap() and asList() methods to Form as a syntactic convenience
 Form.prototype.asMap = function(widget) {
     if (!widget) widget = this.form;
-    return new org.apache.cocoon.forms.util.ContainerWidgetAsMap(widget);
+    return new org.apache.cocoon.forms.util.ContainerWidgetAsMap(widget, true);
 }
 
 Form.prototype.asList = function(repeater) {
-    return new org.apache.cocoon.forms.util.RepeaterAsList(repeater);
+    return new org.apache.cocoon.forms.util.RepeaterAsList(repeater, true);
 }
 
 // The DAO object for our application



Mime
View raw message