Author: michiel
Date: 2010-03-17 14:38:43 +0100 (Wed, 17 Mar 2010)
New Revision: 41469
Modified:
didactor/trunk/components/assessment/src/main/webapp/assessment/matrix.div.jspx
Log:
using mm:relation to ensure that here always the same as in edit-difficulties
is presented
Modified:
didactor/trunk/components/assessment/src/main/webapp/assessment/matrix.div.jspx
===================================================================
---
didactor/trunk/components/assessment/src/main/webapp/assessment/matrix.div.jspx
2010-03-17 13:37:41 UTC (rev 41468)
+++
didactor/trunk/components/assessment/src/main/webapp/assessment/matrix.div.jspx
2010-03-17 13:38:43 UTC (rev 41469)
@@ -67,21 +67,16 @@
-->
- <mm:listrelationscontainer type="problems" role="posrel">
- <mm:addnode element="problems" number="${problem}" />
- <mm:sortorder field="number" />
- <mm:maxnumber value="1" />
- <mm:listrelations id="relation">
- <mm:field name="pos" write="false">
- <!-- See MMB-1770 -->
- <fmt:bundle basename="nl.didactor.resources.troubles">
- <td class="learnblockItems"><fmt:message key="${_}" /></td>
- </fmt:bundle>
- </mm:field>
- <c:set var="blockCount" value="${blockCount + 1}" />
- </mm:listrelations>
+ <mm:relation to="${problem}">
+ <mm:field name="pos" write="false">
+ <!-- See MMB-1770 -->
+ <fmt:bundle basename="nl.didactor.resources.troubles">
+ <td class="learnblockItems"><fmt:message key="${_}" /></td>
+ </fmt:bundle>
+ </mm:field>
+ <c:set var="blockCount" value="${blockCount + 1}" />
+ </mm:relation>
- </mm:listrelationscontainer>
</mm:nodelistfunction>
</mm:node>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs