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

Modified Files:
        TreeContainerTag.java 
Log Message:
damn, some jsps got very confused by that


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


Index: TreeContainerTag.java
===================================================================
RCS file: 
/var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/tree/TreeContainerTag.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- TreeContainerTag.java       24 Jan 2008 12:10:47 -0000      1.11
+++ TreeContainerTag.java       24 Jan 2008 14:20:35 -0000      1.12
@@ -24,7 +24,7 @@
  *
  * @author Michiel Meeuwissen
  * @since  MMBase-1.7.1
- * @version $Id: TreeContainerTag.java,v 1.11 2008/01/24 12:10:47 michiel Exp $
+ * @version $Id: TreeContainerTag.java,v 1.12 2008/01/24 14:20:35 michiel Exp $
  */
 public class TreeContainerTag extends RelatedNodesContainerTag implements 
NodeQueryContainer, ContainerReferrer { // extending from relatednodescontainer 
only for the attributes
 
@@ -82,7 +82,7 @@
         }
         if (query == null) { // try to work as node-referrer
             log.debug("working as node-referrer");
-            Node n = thisTag.getNode();
+            Node n = thisTag.findNode();
             if (n == null) {
                 throw new TaglibException("No NodeQueryContainer nor a 
NodeProvider found in tree-tag");
             } else {
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to