Author: andre
Date: 2010-07-13 21:58:00 +0200 (Tue, 13 Jul 2010)
New Revision: 42884

Added:
   mmweb/trunk/src/main/webapp/framework.jspx
Log:
renderer for components in mmbase.org 


Added: mmweb/trunk/src/main/webapp/framework.jspx
===================================================================
--- mmweb/trunk/src/main/webapp/framework.jspx                          (rev 0)
+++ mmweb/trunk/src/main/webapp/framework.jspx  2010-07-13 19:58:00 UTC (rev 
42884)
@@ -0,0 +1,32 @@
+<jsp:root
+    version="2.0"
+    xmlns:jsp="http://java.sun.com/JSP/Page";
+    xmlns:c="http://java.sun.com/jsp/jstl/core";
+    xmlns:mm="http://www.mmbase.org/mmbase-taglib-2.0";
+    xmlns:mmweb="urn:jsptagdir:/WEB-INF/tags/mmweb">
+  
+  <mm:import externid="block" required="true" />
+  <mm:import externid="component">oip</mm:import>
+  
+  <mmweb:html styleClass="${block}">
+    <jsp:attribute name="head">
+      
+      <mm:component name="${component}" block="${block}" render="head" />
+      
+    </jsp:attribute>
+    <jsp:attribute name="body">
+      <div id="content">
+        <div>
+          
+          <mm:component name="${component}" block="${block}" />
+
+        </div>
+      </div>
+      <div id="sidebar">
+        <div>
+          Sidebar?
+        </div>
+      </div>
+    </jsp:attribute>
+  </mmweb:html>
+</jsp:root>

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

Reply via email to