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

Modified Files:
        index.jsp 
Added Files:
        node.jspx 
Log Message:
support for 'max_depth' setting. (  DIDACTOR-56)


See also: 
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/education/templates/education/learnblocks
See also: http://www.mmbase.org/jira/browse/DIDACTOR-56


node.jspx is new



Index: index.jsp
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/education/templates/education/learnblocks/index.jsp,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- index.jsp   18 Jan 2008 17:34:06 -0000      1.38
+++ index.jsp   24 Jan 2008 10:03:52 -0000      1.39
@@ -1,5 +1,6 @@
 <jsp:root version="2.0"
           xmlns:c="http://java.sun.com/jsp/jstl/core";
+          xmlns:fn="http://java.sun.com/jsp/jstl/functions";
           xmlns:jsp="http://java.sun.com/JSP/Page";
           xmlns:mm="http://www.mmbase.org/mmbase-taglib-2.0";
           xmlns:di="http://www.didactor.nl/ditaglib_1.0";
@@ -11,33 +12,23 @@
 
         <mm:import externid="learnobject" required="true"/>
 
-        <mm:treeinclude page="/education/storebookmarks.jsp" 
objectlist="$includePath" referids="$referids,learnobject">
+        <mm:treeinclude page="/education/storebookmarks.jsp" 
objectlist="$includePath"
+                        referids="$referids,learnobject">
           <mm:param name="learnobjecttype">learnblocks</mm:param>
         </mm:treeinclude>
 
         <div class="learnenvironment">
           <mm:node number="$learnobject">
-            <mm:nodeinfo type="type">
-              <mm:treehaspage objectlist="${includePath}" 
page="/education/pages/${_}/index.jspx">
-                <mm:treeinclude page="/education/pages/${_}/index.jspx"
-                                objectlist="$includePath"
-                                referids="$referids,learnobject" />
-              </mm:treehaspage>
-              <mm:treehaspage objectlist="${includePath}" 
page="/education/pages/${_}/index.jspx" inverse="true">
-                <mm:treeinclude page="/education/pages/content.jsp"
-                                objectlist="$includePath"
-                                referids="$referids,learnobject" />
-                <mm:treeinclude page="/education/paragraph/paragraph.jsp" 
objectlist="$includePath" referids="$referids,[EMAIL PROTECTED]">
-                  <mm:param 
name="path_segment">${pageContext.request.contextPath}/education/</mm:param>
-                </mm:treeinclude>
-              </mm:treehaspage>
-            </mm:nodeinfo>
+            <di:include page="/education/learnblocks/node.jspx" />
           </mm:node>
 
+          <!-- hmm: -->
           <jsp:directive.include file="../includes/descriptionrel_link.jsp" />
-          <mm:treeinclude page="/education/prev_next.jsp" 
referids="includePath" objectlist="$includePath" />
+
+          <di:include page="/education/prev_next.jsp" />
 
         </div>
+
         <mm:node number="$learnobject">
           <jsp:directive.include file="../includes/component_link.jsp" />
         </mm:node>
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to