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

Modified Files:
        code.jsp 
Log Message:
made it work with treeincluded modes too


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


Index: code.jsp
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/education/templates/education/wizards/code.jsp,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -b -r1.111 -r1.112
--- code.jsp    7 Mar 2008 10:54:23 -0000       1.111
+++ code.jsp    13 Mar 2008 09:37:52 -0000      1.112
@@ -10,7 +10,11 @@
       </mm:link>
       <mm:remove from="session" referid="path" />
       <mm:import externid="education_topmenu_course" />
-      <mm:link page="modes/${mode}.jsp" referids="education_topmenu_course?">
+      <mm:treefile
+          write="false"
+          objectlist="${includePath}"
+          page="/education/wizards/modes/${mode}.jsp"
+          referids="education_topmenu_course?">
         <mm:param name="expires">0</mm:param>
         <script type="text/javascript">
           function reloadMode() {
@@ -28,7 +32,7 @@
           xmlhttp.send(null);
           }
         </script>
-      </mm:link>
+      </mm:treefile>
 
       <div id="mode-${mode}">
         <di:include debug="html" page="/education/wizards/modes/${mode}.jsp" />
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to