Update of
/var/cvs/contributions/didactor2/src/education/templates/education/wizards/show
In directory james.mmbase.org:/tmp/cvs-serv32274/show
Modified Files:
learnblocks.jspx
Log Message:
cleaning, removed usage of mm:tree, and simply using recursive mm:include,
which is easier to understand.
See also:
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/education/templates/education/wizards/show
Index: learnblocks.jspx
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/templates/education/wizards/show/learnblocks.jspx,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- learnblocks.jspx 15 Jan 2009 12:09:28 -0000 1.8
+++ learnblocks.jspx 15 Jan 2009 13:04:09 -0000 1.9
@@ -37,10 +37,37 @@
</mm:hasnode>
</span>
-
<ul>
<mm:include page="../newfromtree.jsp" />
+ <mm:relatednodescontainer
+ type="learnobjects"
+ role="posrel"
+ searchdirs="destination"
+ >
+ <mm:sortorder field="posrel.pos" direction="up" />
+ <mm:typeconstraint name="questions" inverse="true" />
+ <mm:relatednodes>
+ <li>
+ <mm:nodeinfo type="type">
+ <mm:treehaspage page="/education/wizards/show/${_}.jspx"
objectlist="$includePath">
+ <mm:treeinclude page="/education/wizards/show/${_}.jspx"
+ objectlist="$includePath"
+ debug="html"
+ />
+ </mm:treehaspage>
+ <mm:treehaspage page="/education/wizards/show/${_}.jspx"
+ objectlist="$includePath"
+ inverse="true">
+ <mm:treeinclude page="/education/wizards/showlearnobject.jsp"
+ objectlist="$includePath"
+ debug="html"
+ >
+ </mm:treeinclude>
+ </mm:treehaspage>
+ </mm:nodeinfo>
+ </li>
+ </mm:relatednodes>
+ </mm:relatednodescontainer>
</ul>
-
</jsp:root>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs