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

Modified Files:
      Tag: MMBase-1_8
        RelatedNodesContainerTag.java 
Log Message:
exception message not correct


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


Index: RelatedNodesContainerTag.java
===================================================================
RCS file: 
/var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/containers/RelatedNodesContainerTag.java,v
retrieving revision 1.14.2.2
retrieving revision 1.14.2.3
diff -u -b -r1.14.2.2 -r1.14.2.3
--- RelatedNodesContainerTag.java       26 Feb 2008 17:05:15 -0000      1.14.2.2
+++ RelatedNodesContainerTag.java       20 Jun 2008 14:38:11 -0000      1.14.2.3
@@ -26,7 +26,7 @@
  *
  * @author Michiel Meeuwissen
  * @since  MMBase-1.7
- * @version $Id: RelatedNodesContainerTag.java,v 1.14.2.2 2008/02/26 17:05:15 
michiel Exp $
+ * @version $Id: RelatedNodesContainerTag.java,v 1.14.2.3 2008/06/20 14:38:11 
michiel Exp $
  */
 public class RelatedNodesContainerTag extends ListNodesContainerTag {
 
@@ -85,7 +85,7 @@
                 RelationStep relationStep = 
query.addRelationStep(cloud.getNodeManager(nodeManagerName),
                                                                   (String) 
role.getValue(this), (String) searchDirs.getValue(this));
                 query.setNodeStep(relationStep.getNext());
-                if (path != Attribute.NULL) throw new JspTagException("Should 
specify either 'type' or 'path' attributes on relatednodescontainer");
+                if (path != Attribute.NULL) throw new JspTagException("Should 
specify either 'type'/'role' or 'path' attributes on relatednodescontainer");
                 if (element != Attribute.NULL) throw new 
JspTagException("'element' can only be used in combination with 'path' 
attribute");
             } else {
                 if (path == Attribute.NULL) throw new JspTagException("Should 
specify either 'type' or 'path' attributes on relatednodescontainer");
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to