Update of
/var/cvs/contributions/didactor2/src/education/templates/education/wizards/show
In directory james.mmbase.org:/tmp/cvs-serv22784/show
Modified Files:
learnblocks.jspx xmlcontent.jspx
Added Files:
README
Log Message:
tidied up a bit using di:leaf
See also:
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/education/templates/education/wizards/show
README is new
Index: learnblocks.jspx
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/templates/education/wizards/show/learnblocks.jspx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- learnblocks.jspx 14 Feb 2008 11:26:48 -0000 1.1
+++ learnblocks.jspx 29 Feb 2008 09:24:12 -0000 1.2
@@ -5,13 +5,16 @@
xmlns:di-t="urn:jsptagdir:/WEB-INF/tags/di/core"
xmlns:di="http://www.didactor.nl/ditaglib_1.0">
<jsp:output omit-xml-declaration="yes" />
+
<mm:import externid="wizardjsp" from="request" />
+ <mm:import externid="branchPath" required="true" />
+ <mm:import externid="b" from="request" required="true" />
- <di-t:leaf styleClass="self2" depth="${depth}" icon="false">
- <a href="javascript:clickNode('${_node}')">
- <img src="gfx/tree_plus.gif" border="0" align="center" valign="middle"
id="img_${_node}"/>
- </a>
- <img src="gfx/folder_closed.gif" border="0" align="middle"
id="img2_${_node}" />
+ <di-t:leaf styleClass="self2"
+ branch="${b}"
+ branchOffset="1"
+ branchPath="${branchPath}"
+ click="${_node}">
<mm:link referid="wizardjsp" referids="[EMAIL PROTECTED],[EMAIL
PROTECTED]">
<mm:param name="wizard">config/learnblocks/learnblocks</mm:param>
<mm:param
name="path">${sessionScope.eduname}${sessionScope.path}</mm:param>
@@ -41,9 +44,7 @@
</mm:hasnode>
</di-t:leaf>
-
- <mm:include page="../newfromtree.jsp" >
- <mm:param name="depth">${depth + 1}</mm:param>
- </mm:include>
-
+ <![CDATA[<div id="${_node}" style="display:none;">]]>
+ <mm:onshrink><![CDATA[</div>]]></mm:onshrink>
+ <mm:include page="../newfromtree.jsp" />
</jsp:root>
Index: xmlcontent.jspx
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/templates/education/wizards/show/xmlcontent.jspx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- xmlcontent.jspx 14 Feb 2008 11:26:48 -0000 1.1
+++ xmlcontent.jspx 29 Feb 2008 09:24:12 -0000 1.2
@@ -5,15 +5,21 @@
xmlns:di-t="urn:jsptagdir:/WEB-INF/tags/di/core"
xmlns:di="http://www.didactor.nl/ditaglib_1.0">
<jsp:output omit-xml-declaration="yes" />
-
- <di-t:leaf styleClass="self" depth="${depth}">
-
- <mm:link page="/mmbase/kupu/mmbase" referids="[EMAIL
PROTECTED],referrer,templates">
+ <mm:import from="request" externid="referrer" />
+ <mm:import id="kupu_back"><mm:url page="${referrer}" /></mm:import>
+ <mm:import from="request"
+ externid="b" required="true" />
+ <mm:import externid="branchPath" required="true" />
+
+ <di-t:leaf styleClass="self"
+ branchOffset="1"
+ branchPath="${branchPath}"
+ branch="${b}">
+ <mm:link page="/mmbase/kupu/mmbase" referids="[EMAIL
PROTECTED],referrer,kupu_back">
<mm:param name="wizard">config/xmlcontent/xmlcontent</mm:param>
<a href="${_}"
target="text">
- <mm:field name="number" />:
<mm:hasfield name="name"><mm:field name="name" /></mm:hasfield>
<mm:hasfield name="title"><mm:field name="title" /></mm:hasfield>
</a>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs