Update of
/var/cvs/contributions/didactor2/src/education/templates/education/wizards/new
In directory james.mmbase.org:/tmp/cvs-serv14031/new
Modified Files:
learnblocks.jspx tests.jspx
Log Message:
debug, newpos
See also:
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/education/templates/education/wizards/new
Index: learnblocks.jspx
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/templates/education/wizards/new/learnblocks.jspx,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- learnblocks.jspx 3 Mar 2008 13:09:17 -0000 1.4
+++ learnblocks.jspx 12 Jun 2008 12:52:51 -0000 1.5
@@ -12,7 +12,7 @@
branch="${b}"
branchOffset="1"
branchPath="${branchPath} ">
- <mm:listrelations role="posrel" type="learnblocks" max="1" orderby="pos"
directions="down">
+ <mm:listrelations role="posrel" type="learnobjects" max="1" orderby="pos"
directions="down">
<mm:field name="pos" id="maxpos" write="false" />
</mm:listrelations>
<mm:link referid="wizardjsp" referids="[EMAIL PROTECTED]">
Index: tests.jspx
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/templates/education/wizards/new/tests.jspx,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- tests.jspx 3 Mar 2008 13:09:17 -0000 1.4
+++ tests.jspx 12 Jun 2008 12:52:51 -0000 1.5
@@ -13,10 +13,14 @@
branch="${b}"
branchOffset="1"
>
+ <mm:listrelations role="posrel" type="learnobjects" max="1" orderby="pos"
directions="down">
+ <mm:field name="pos" id="maxpos" write="false" />
+ </mm:listrelations>
<mm:nodeinfo id="guitype" nodetype="tests" type="guitype" write="false" />
<mm:link referid="wizardjsp" referids="[EMAIL PROTECTED]">
<mm:param name="wizard">config/tests/tests-origin</mm:param>
<mm:param name="objectnumber">new</mm:param>
+ <mm:param name="newpos">${maxpos + 1}</mm:param>
<mm:param
name="path">${sessionScope.eduname}${sessionScope.path}</mm:param>
<a href="${_}"
title="${di:translate('education.new')} ${guitype}"
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs