Update of /var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib
In directory james.mmbase.org:/tmp/cvs-serv4626

Modified Files:
        FieldInfoTag.java 
Log Message:
Taglib can only use Handler<String>


See also: 
http://cvs.mmbase.org/viewcvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib


Index: FieldInfoTag.java
===================================================================
RCS file: 
/var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/FieldInfoTag.java,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -b -r1.120 -r1.121
--- FieldInfoTag.java   17 Apr 2009 15:44:35 -0000      1.120
+++ FieldInfoTag.java   28 Apr 2009 08:45:15 -0000      1.121
@@ -45,7 +45,7 @@
  * @author Michiel Meeuwissen
  * @author Jaco de Groot
  * @author Gerard van de Looi
- * @version $Id: FieldInfoTag.java,v 1.120 2009/04/17 15:44:35 michiel Exp $
+ * @version $Id: FieldInfoTag.java,v 1.121 2009/04/28 08:45:15 michiel Exp $
  */
 public class FieldInfoTag extends FieldReferrerTag implements Writer {
     private static Logger log;
@@ -214,7 +214,7 @@
         DataType<?> dataType = field.getDataType();
 
         String ct = pageContext.getResponse().getContentType().split(";")[0];
-        Handler<String> h = dataType.getHandler(ct);
+        Handler<String> h = (Handler<String>) dataType.getHandler(ct);
         if (h !=  null) {
             return new DataTypeHandler(h, this);
         } else {
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to