Update of /var/cvs/html/mmbase/admin/tools
In directory james.mmbase.org:/tmp/cvs-serv21805/html/mmbase/admin/tools

Modified Files:
        email.jsp 
Log Message:
fixed jsp compile errors


See also: http://cvs.mmbase.org/viewcvs/html/mmbase/admin/tools


Index: email.jsp
===================================================================
RCS file: /var/cvs/html/mmbase/admin/tools/email.jsp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- email.jsp   11 Apr 2008 15:39:37 -0000      1.9
+++ email.jsp   12 Apr 2008 12:42:16 -0000      1.10
@@ -1,4 +1,4 @@
-<%@ page import="org.mmbase.bridge.*"
+<%@ page import="org.mmbase.bridge.*" %>
 <%@ taglib uri="http://www.mmbase.org/mmbase-taglib-2.0"; prefix="mm" %>
 <mm:cloud rank="administrator" loginpage="login.jsp" jspvar="cloud">
 <div
@@ -9,24 +9,16 @@
 
 
 
-<table summary="email test">
 <mm:hasnodemanager name="email">
+<table summary="email test">
 <%
-    NodeManager email=null;
-    try {
-       email=cloud.getNodeManager("email");
-    } catch (NotFoundException e) {}
+    // mm:hasnodemanager already did the check for NotFoundException
+    NodeManager email=email=cloud.getNodeManager("email");
 %>
 
 <tr>
   <th class="header" colspan="4">Dynamic &amp; Timed Email System - Queue 
Monitor - v1.0</th>
 </tr>
-<% if (email==null) { %>
-<tr>
-  <td class="multidata" colspan="4"><p>Email builder not active</p></td>
-</tr>
-<% } else { %>
-
 <tr>
   <td class="multidata" colspan="4"><p>This tool shows the performamce of the 
timed MMBase email builder.</p></td>
 </tr>
@@ -63,8 +55,6 @@
   </td>
 </tr>
 
-<% } %>
-
 <tr><td>&nbsp;</td></tr>
 
 <tr class="footer">
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to