Update of /var/cvs/contributions/didactor2/src/drm/templates/drm
In directory james.mmbase.org:/tmp/cvs-serv8921
Modified Files:
testlicense.jsp
Log Message:
didn't compile any more
See also:
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/drm/templates/drm
Index: testlicense.jsp
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/drm/templates/drm/testlicense.jsp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testlicense.jsp 1 Nov 2006 10:39:55 -0000 1.6
+++ testlicense.jsp 24 Jan 2008 15:33:59 -0000 1.7
@@ -2,19 +2,18 @@
<[EMAIL PROTECTED] uri="http://www.didactor.nl/ditaglib_1.0" prefix="di" %>
<mm:content postprocessor="reducespace" expires="0">
<mm:cloud method="delegate" jspvar="cloud">
-<[EMAIL PROTECTED] file="/shared/setImports.jsp" %>
-<mm:node referid="education">
- <mm:field name="number" jspvar="educationNo">
+ <mm:isnotempty referid="education">
+ <mm:node referid="education" jspvar="node">
<mm:relatednodes type="licensetexts" max="1">
<%
- if
(session.getAttribute(username+"_has_agreed_to_education_licence_"+educationNo)
== null) {
+ if
(session.getAttribute(cloud.getUser().getIdentifier()+"_has_agreed_to_education_licence_"
+ node.getNumber()) == null) {
%>
<mm:redirect page="/drm/showlicense.jsp" referids="$referids "/>
<%
}
%>
</mm:relatednodes>
-</mm:field>
-</mm:node>
+ </mm:node>
+ </mm:isnotempty>
</mm:cloud>
</mm:content>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs