Update of 
/var/cvs/contributions/didactor2/src/education/templates/education/wizards
In directory james.mmbase.org:/tmp/cvs-serv22259

Modified Files:
        learnobject.jsp showlearnobject.jsp 
Log Message:
support for treeincluding from 'show' files


See also: 
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/education/templates/education/wizards


Index: learnobject.jsp
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/education/templates/education/wizards/learnobject.jsp,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- learnobject.jsp     12 Jun 2008 12:52:51 -0000      1.26
+++ learnobject.jsp     20 Jun 2008 14:15:53 -0000      1.27
@@ -31,22 +31,26 @@
                 maxdepth="6">
               <mm:first inverse="true">
                 <mm:nodeinfo type="type">
-                  <mm:haspage page="/education/wizards/show/${_}.jspx">
-                    <mm:include page="/education/wizards/show/${_}.jspx"
+                  <mm:treehaspage page="/education/wizards/show/${_}.jspx" 
objectlist="$includePath">
+                    <mm:treeinclude page="/education/wizards/show/${_}.jspx"
+                                    objectlist="$includePath"
                                 attributes="[EMAIL PROTECTED]"
                                 referids="branchPath"
                                 debug="html"
                                 >
-                    </mm:include>
-                  </mm:haspage>
-                  <mm:haspage page="/education/wizards/show/${_}.jspx" 
inverse="true">
-                    <mm:include page="/education/wizards/showlearnobject.jsp"
+                    </mm:treeinclude>
+                  </mm:treehaspage>
+                  <mm:treehaspage page="/education/wizards/show/${_}.jspx"
+                                  objectlist="$includePath"
+                                  inverse="true">
+                    <mm:treeinclude 
page="/education/wizards/showlearnobject.jsp"
+                                    objectlist="$includePath"
                                 attributes="[EMAIL PROTECTED]"
                                 debug="html"
                                 referids="branchPath"
                                 >
-                    </mm:include>
-                  </mm:haspage>
+                    </mm:treeinclude>
+                  </mm:treehaspage>
                 </mm:nodeinfo>
               </mm:first>
               <mm:shrink />


Index: showlearnobject.jsp
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/education/templates/education/wizards/showlearnobject.jsp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to