Update of /var/cvs/contributions/didactor2/src/education/templates/education/wizards In directory james.mmbase.org:/tmp/cvs-serv30125
Modified Files: index.jsp learnobject.jsp Added Files: wizard.js Removed Files: javascript.jsp reloadMode.js Log Message: cleaning, using jquery-treeview See also: http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/education/templates/education/wizards wizard.js is new Index: index.jsp =================================================================== RCS file: /var/cvs/contributions/didactor2/src/education/templates/education/wizards/index.jsp,v retrieving revision 1.40 retrieving revision 1.41 diff -u -b -r1.40 -r1.41 --- index.jsp 10 Jan 2009 15:19:59 -0000 1.40 +++ index.jsp 15 Jan 2009 11:46:24 -0000 1.41 @@ -4,9 +4,13 @@ xmlns:di="http://www.didactor.nl/ditaglib_1.0" > + + <mm:import externid="mode">educations</mm:import> + <mm:import externid="e">${education}</mm:import> + <di:html type="application/xhtml+xml" - styleClass="editwizards" + styleClass="editwizards ${mode}" component="education.wizards" title_key="education.editwizards" css="/education/wizards/style.css" @@ -20,24 +24,23 @@ <script type="text/javascript" src="${_}"><jsp:text> </jsp:text></script> </mm:link> - <mm:import externid="mode">educations</mm:import> - <mm:import externid="e">${education}</mm:import> - <script type="text/javascript"> - $(document).ready(function() { - $('ul.treeview').treeview({ - collapsed: true, - persist: "cookie", - cookieId: "treeview_${e}_${mode}", - cookieOptions: {expires: 100} - } - ); - }); - </script> + <mm:treefile + write="false" + objectlist="${includePath}" + page="/education/wizards/wizard.js"> + <script type="text/javascript" src="${_}"><jsp:text> </jsp:text></script> + </mm:treefile> <div class="rows" id="rows"> - <di:include debug="html" page="/education/wizards/javascript.jsp" /> + <mm:treefile + write="false" + objectlist="${includePath}" + page="/education/wizards/modes/${mode}.jsp" + referids="education_topmenu_course?"> + <a href="${_}" id="mode_url" style="display: none;">Mode url</a> + </mm:treefile> <di:include debug="html" page="/education/wizards/navigation.jspx" /> Index: learnobject.jsp =================================================================== RCS file: /var/cvs/contributions/didactor2/src/education/templates/education/wizards/learnobject.jsp,v retrieving revision 1.29 retrieving revision 1.30 diff -u -b -r1.29 -r1.30 --- learnobject.jsp 9 Jan 2009 17:27:56 -0000 1.29 +++ learnobject.jsp 15 Jan 2009 11:46:24 -0000 1.30 @@ -11,8 +11,6 @@ <mm:content postprocessor="none"> <mm:cloud method="delegate"> <mm:node id="sn" number="${startnode}"> - <li> - <mm:write request="b" value="" /> <mm:include page="newfromtree.jsp"> <mm:param name="branchPath">${branchPath}</mm:param> @@ -57,7 +55,6 @@ <mm:shrink /> </mm:tree> </mm:treecontainer> - </li> </mm:node> </mm:cloud> </mm:content> _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs