>Imagine, I have defined an objecttypes products and categories. >Products are grouped in categories, these categories can have >subcategories...etc, recursive. >Is there a way to query an objecttree like this in a single call, or do I have to query >for subcategories for every category I find?
next to the tree classes (michiel will write about that I hope:)) I usualy only make one query listing "category,posrel,category" and use java code to create the tree (code from the mmbase.org website) http://michiel.mmbase.net/cgi-bin/viewcvs.cgi/mmbase.org/mmweb/includes/ nav.jsp?rev=1.9&view=markup
<<winmail.dat>>
