Update of /var/cvs/contributions/didactor2/src/education/templates/education
In directory james.mmbase.org:/tmp/cvs-serv8999

Modified Files:
        index.jsp 
Log Message:
avoid exception if no education yet


See also: 
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/education/templates/education


Index: index.jsp
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/education/templates/education/index.jsp,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -b -r1.80 -r1.81
--- index.jsp   24 Jan 2008 13:10:33 -0000      1.80
+++ index.jsp   24 Jan 2008 15:34:48 -0000      1.81
@@ -17,9 +17,15 @@
     <di:include page="/education/bookmark.jspx" />
 
     <div class="rows" id="rows">
-
+      <c:choose>
+        <c:when test="${empty education}">
+          NO EDUCATION YET
+        </c:when>
+        <c:otherwise>
       <di:include debug="html" page="/education/navigation.jspx" />
       <di:include debug="html" page="/education/main.jspx" />
+        </c:otherwise>
+      </c:choose>
     </div>
 
   </di:html>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to