Author: michiel
Date: 2010-04-09 10:30:15 +0200 (Fri, 09 Apr 2010)
New Revision: 41815

Modified:
   
didactor/trunk/components/core/src/main/resources/META-INF/tags/di/core/html.tagx
Log:
a bit of debug in the comments can be very helpful with all those horrible tree 
includes

Modified: 
didactor/trunk/components/core/src/main/resources/META-INF/tags/di/core/html.tagx
===================================================================
--- 
didactor/trunk/components/core/src/main/resources/META-INF/tags/di/core/html.tagx
   2010-04-09 08:16:06 UTC (rev 41814)
+++ 
didactor/trunk/components/core/src/main/resources/META-INF/tags/di/core/html.tagx
   2010-04-09 08:30:15 UTC (rev 41815)
@@ -35,7 +35,11 @@
     <mm:cloud rank="${empty rank ? 'didactor user' : rank}">
       <html  debug="true"
              xmlns="http://www.w3.org/1999/xhtml";>
-        <mm:import escape="trimmer" id="validatemessage"><mm:treeinclude 
page="/shared/validateUser.jsp" objectlist="$includePath" referids="$referids" 
/></mm:import>
+
+        <!-- extremely stupid, but I think it is not much used any more. User 
validation is done by security implementation now. -->
+        <mm:import escape="trimmer" id="validatemessage">
+          <mm:treeinclude page="/shared/validateUser.jsp" 
objectlist="$includePath" referids="$referids" />
+        </mm:import>
         <c:choose>
           <c:when test="${! empty validatemessage}">
             <mm:cloud method="logout" />
@@ -99,9 +103,9 @@
 
               <div class="componentBody">
                 <mm:write request="component" value="${component}" />
-                <di:include page="/cockpit/applicationbar.jsp" />
-                <di:include page="/cockpit/providerbar.jsp" />
-                <di:include page="/cockpit/educationbar.jsp" />
+                <di:include debug="xml" page="/cockpit/applicationbar.jsp" />
+                <di:include debug="xml" page="/cockpit/providerbar.jsp" />
+                <di:include debug="xml" page="/cockpit/educationbar.jsp" />
                 <div class="di_body mm_c_${component}">
                   <jsp:doBody />
                 </div>

_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to