Author: michiel
Date: 2009-05-19 00:34:18 +0200 (Tue, 19 May 2009)
New Revision: 35300

Modified:
   mmbase/trunk/html/mmbase/components/core/components/list.jspx
Log:
Experiment, return the manifest of the jar of the component

Modified: mmbase/trunk/html/mmbase/components/core/components/list.jspx
===================================================================
--- mmbase/trunk/html/mmbase/components/core/components/list.jspx       
2009-05-18 22:33:50 UTC (rev 35299)
+++ mmbase/trunk/html/mmbase/components/core/components/list.jspx       
2009-05-18 22:34:18 UTC (rev 35300)
@@ -62,6 +62,41 @@
             <caption>${c.description}</caption>
             <tr><th>Version</th><td>${c.version}</td></tr>
             <tr><th>Defined in</th><td>${c.uri}</td></tr>
+            <c:if test="${! empty c.manifest}">
+              <tr>
+                <th>Manifest</th>
+                <td>
+                  <table>
+                    <tr>
+                      <th>entries</th>
+                      <td>
+                        <ul>
+                          <c:forEach items="${c.manifest.entries}" var="entry">
+                            <li>${entry.key} =
+                            [
+                            <c:forEach items="${entry.value}" var="value">
+                              ${value.key} = ${value.value}
+                            </c:forEach>
+                            ]
+                            </li>
+                          </c:forEach>
+                        </ul>
+                      </td>
+                    </tr>
+                    <tr>
+                      <th>attributes</th>
+                      <td>
+                        <ul>
+                          <c:forEach items="${c.manifest.mainAttributes}" 
var="attribute">
+                            <li>${attribute}</li>
+                          </c:forEach>
+                        </ul>
+                      </td>
+                    </tr>
+                  </table>
+                </td>
+              </tr>
+            </c:if>
             <tr><th>Translations</th><td>${c.bundle}</td></tr>
             <tr><th>Dependencies</th><td>${c.dependencies}</td></tr>
             <c:if test="${! empty c.unsatisfiedDependencies}">

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

Reply via email to