I'm not sure what you exactly mean, but there are these two:
countrelations
http://www.mmbase.org/mmdocs18/applications/taglib/build/
frontenddevelopers/taglib/reference.html#countrelations
hasrelations
http://www.mmbase.org/mmdocs18/applications/taglib/build/
frontenddevelopers/taglib/reference.html#hasrelations
The tag mm:countrelations even has the attributes 'type' and 'role'
to check relations with a certain type of node and with a specific
role (e.g. posrel, rolerel).
---André
Op 30-mrt-2006, om 15:01 heeft Ruud Prein het volgende geschreven:
This would be very usefull indeed. Also to check if a relation
already exists before making a new one.
something like: <mm:isrelated source="nodeid1"
destination="nodeid2" role="roletype" inverse="true/false">...</
mm:isrelated>
Ruud
All,
In JSP: Is there some sort of ‘isRelated’ function to quickly
determine if two nodes are related. I only want to show a node
that is related to three other nodes of different types. The node
numbers of the related nodes are known.
Kind regards,
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.3/296 - Release Date:
29-3-2006
---------------------------------------------------------------------
---
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers
--
André van Toly
web http://www.toly.nl mobile +31(0)627233562
------------------------------------------------------------------>><<--
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers