Update of
/var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/containers
In directory james.mmbase.org:/tmp/cvs-serv23094
Modified Files:
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.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- RelatedNodesContainerTag.java 26 Feb 2008 17:06:44 -0000 1.17
+++ RelatedNodesContainerTag.java 20 Jun 2008 14:38:54 -0000 1.18
@@ -26,7 +26,7 @@
*
* @author Michiel Meeuwissen
* @since MMBase-1.7
- * @version $Id: RelatedNodesContainerTag.java,v 1.17 2008/02/26 17:06:44
michiel Exp $
+ * @version $Id: RelatedNodesContainerTag.java,v 1.18 2008/06/20 14:38:54
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