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

Modified Files:
        functions.jspx 
Added Files:
        functions-builders.jspx functions-modules.jspx 
        functions-sets.jspx 
Log Message:
will make this block working for other function types than 'sets' as well


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


functions-builders.jspx is new



functions-modules.jspx is new



functions-sets.jspx is new



Index: functions.jspx
===================================================================
RCS file: /var/cvs/html/mmbase/components/core/functions.jspx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- functions.jspx      6 Jan 2009 17:00:54 -0000       1.2
+++ functions.jspx      7 Jan 2009 20:56:01 -0000       1.3
@@ -12,22 +12,20 @@
       class="mm_c c_core b_functions ${requestScope.className}"
       id="${requestScope['org.mmbase.componentId']}">
 
-    <mm:function id="functionsets" set="utils" name="functionsets" 
write="false" />
-    <ul>
-    <c:forEach items="${functionsets}" var="entry">
-      <li>
-        <p>${entry.key}: <mm:write value="${entry.value.description}" /></p>
-        <ul>
-          <c:forEach items="${entry.value.functions}" var="fun">
-            <li>
-              <mm:escape>${fun}</mm:escape>
-              <p><mm:write value="${fun.description}" /></p>
-            </li>
-          </c:forEach>
-        </ul>
+      <mm:import externid="type" from="request">sets</mm:import>
+
+      <ul class="tabs">
+        <c:forEach items="sets,nodes,builders,modules" var="t">
+          <li class="${type eq t ? 'current' : ''}">
+            <mm:link referids="t...@type">
+              <a href="${_}">${t}</a>
+            </mm:link>
       </li>
     </c:forEach>
     </ul>
+
+      <mm:include page="functions-${type}.jspx" />
+
   </div>
   </mm:cloud>
 </mm:content>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to