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

Modified Files:
        CloudReferrerTag.java 
Log Message:
it's not necessary a string, it can e.g. also be an integer


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


Index: CloudReferrerTag.java
===================================================================
RCS file: 
/var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/CloudReferrerTag.java,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- CloudReferrerTag.java       22 Oct 2008 09:31:12 -0000      1.38
+++ CloudReferrerTag.java       28 Nov 2008 13:54:28 -0000      1.39
@@ -32,7 +32,7 @@
  * class.
  *
  * @author Michiel Meeuwissen
- * @version $Id: CloudReferrerTag.java,v 1.38 2008/10/22 09:31:12 michiel Exp $
+ * @version $Id: CloudReferrerTag.java,v 1.39 2008/11/28 13:54:28 michiel Exp $
  */
 
 public abstract class CloudReferrerTag extends ContextReferrerTag {
@@ -110,7 +110,7 @@
 
     protected Node getNode(String key) throws JspTagException {
         Node n = getNodeOrNull(key);
-        if (n == null) getCloudVar().getNode((String) getObject(key)); // 
cause exception
+        if (n == null) 
getCloudVar().getNode(org.mmbase.util.Casting.toString(getObject(key))); // 
cause exception
         return n;
     }
     /**
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to