Update of /var/cvs/applications/dove/src/org/mmbase/applications/dove
In directory james.mmbase.org:/tmp/cvs-serv20648

Modified Files:
        Dove.java 
Log Message:
datatype generated options lists did not yet work properly for NodeDataTypes


See also: 
http://cvs.mmbase.org/viewcvs/applications/dove/src/org/mmbase/applications/dove


Index: Dove.java
===================================================================
RCS file: 
/var/cvs/applications/dove/src/org/mmbase/applications/dove/Dove.java,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -b -r1.98 -r1.99
--- Dove.java   26 Sep 2008 14:57:02 -0000      1.98
+++ Dove.java   17 Nov 2008 14:28:12 -0000      1.99
@@ -55,7 +55,7 @@
  *
  * @author Pierre van Rooden
  * @since MMBase-1.5
- * @version $Id: Dove.java,v 1.98 2008/09/26 14:57:02 michiel Exp $
+ * @version $Id: Dove.java,v 1.99 2008/11/17 14:28:12 michiel Exp $
  */
 
 public class Dove extends AbstractDove {
@@ -161,8 +161,8 @@
                                                            // booleans. Don't 
ask me why. It's stupid.
                     key =  "" + Casting.toInt(key);
                 }
-                Element o = addContentElement("option", "" + entry.getValue(), 
ol);
-                o.setAttribute("id", "" + key);
+                Element o = addContentElement("option", 
Casting.toString(entry.getValue()), ol);
+                o.setAttribute("id", Casting.toString(key));
             }
         }
         return fel;
@@ -195,7 +195,7 @@
                 }
                 public Map.Entry<?, String> next() {
                     Long v = new Long(value++);
-                    return new org.mmbase.util.Entry(v, "" + v);
+                    return new org.mmbase.util.Entry<Long, String>(v, "" + v);
                 }
                 public void remove() {
                     throw new UnsupportedOperationException();
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to