Update of /var/cvs/html/mmbase/components/core/components
In directory james.mmbase.org:/tmp/cvs-serv20795/components/core/components

Modified Files:
        list.jspx 
Log Message:
component framework


See also: http://cvs.mmbase.org/viewcvs/html/mmbase/components/core/components


Index: list.jspx
===================================================================
RCS file: /var/cvs/html/mmbase/components/core/components/list.jspx,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- list.jspx   28 Dec 2007 17:22:47 -0000      1.12
+++ list.jspx   11 Apr 2008 15:39:37 -0000      1.13
@@ -16,34 +16,50 @@
       <mm:import externid="view"      from="request" />
 
       <mm:notpresent referid="component">
-        <h2><fmt:message key="components.title" /></h2>
+        
<h3>${mm:string(requestScope['org.mmbase.framework.state'].renderer.block.title)}</h3>
            <table summary="components" border="0" cellspacing="0" 
cellpadding="3">
                  <caption>
-                       Information about components on this MMBase system
+            
${mm:string(requestScope['org.mmbase.framework.state'].renderer.block.description)}
        
       </caption>
-      <mm:function set="utils" name="framework">
-        <tr><th>Framework</th><td>${_}</td></tr>
-      </mm:function>
-      <tr><th>Failed components</th><td><mm:function  set="components" 
name="failed" /></td></tr>
-      </table>
-      <h3><fmt:message key="components.available" /></h3>
-      <ul>
+          <tr>
+            <th>Component</th>
+            <th>Description</th>
+            <th>Version</th>
+          </tr>
         <mm:listfunction id="comp" set="components" name="list" >
-          <li>
+            <tr>
+              <td>
             <mm:link>
               <mm:param name="component">${comp.name}</mm:param>
               <a href="${_}" class="navigate">${comp.name}</a>
-              <jsp:text> (version: ${comp.version}).</jsp:text>
             </mm:link>
-          </li>
+              </td>
+              <td>${comp.description}</td>
+              <td>${comp.version}</td>
+            </tr>
         </mm:listfunction>
-      </ul>
+          <tr>
+            <th colspan="3">
       <mm:link page="component-block-tree">
-        <a href="${_}">Tree view</a>
+                <a href="${_}">Tree view of available components</a>
       </mm:link>
+            </th>
+          </tr>
+        </table>
+      
+           <table summary="framework" border="0" cellspacing="0" 
cellpadding="3">
+                 <caption>
+            Current Framework 
+          </caption>
+          <mm:function set="utils" name="framework">
+            <tr><th>Framework</th><td>${_}</td></tr>
+          </mm:function>
+          <tr><th>Failed components</th><td><mm:function set="components" 
name="failed" /></td></tr>
+        </table>
       </mm:notpresent>
+      
       <mm:present referid="component">
-        <h2>'${component}'</h2>
+        <h2>Component '${component}'</h2>
         <mm:function set="components" name="get" referids="[EMAIL PROTECTED]" 
id="c">
           <table summary="component" border="0" cellspacing="0" 
cellpadding="3">
             <caption>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to