Update of /var/cvs/contributions/didactor2/src/portal/templates/portal
In directory james.mmbase.org:/tmp/cvs-serv17505

Modified Files:
        index.jspx 
Log Message:
simplified using di:html


See also: 
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/portal/templates/portal


Index: index.jspx
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/portal/templates/portal/index.jspx,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- index.jspx  28 Sep 2007 10:12:13 -0000      1.17
+++ index.jspx  22 Jan 2008 14:32:40 -0000      1.18
@@ -1,51 +1,15 @@
-<mm:cloud
-    method="asis"
+<jsp:root version="2.0"
+          xmlns:jsp="http://java.sun.com/JSP/Page";
     xmlns:c="http://java.sun.com/jsp/jstl/core";
-    xmlns:di="http://www.didactor.nl/ditaglib_1.0";
     xmlns:mm="http://www.mmbase.org/mmbase-taglib-2.0";
-    xmlns:jsp="http://java.sun.com/JSP/Page";
-    >
-  <!--
-       using doctype (strict mode) and returning text/xhml (in stead of 
application/xhtml+xml
-       to please IE, which is a nasty, lousy browser
-  -->
-
-  <jsp:output doctype-root-element="html"
-              doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
-              
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
-
-  <mm:content
-      type="application/xhtml+xml"
-      unacceptable="CRIPPLE"
-      postprocessor="none" expires="0">
-
-
-    <html  xmlns="http://www.w3.org/1999/xhtml";>
-      <head>
-        <title><di:translate key="education.learnenvironmenttitle" /></title>
-        <mm:treefile page="/css/base.css"  objectlist="$includePath" 
write="false">
-          <link rel="stylesheet" type="text/css" href="${_}" />
-        </mm:treefile>
-        <mm:treefile page="/portal/style/base.css"  objectlist="$includePath" 
write="false">
-          <link rel="stylesheet" type="text/css" href="${_}" />
-        </mm:treefile>
-        <mm:treefile page="/portal/style/print.css"  objectlist="$includePath" 
write="false">
-          <link href="${_}" rel="alternate stylesheet" title="Printer 
friendly" type="text/css" media="screen" />
-          <link href="${_}" rel="stylesheet" type="text/css"  media="print"/>
-        </mm:treefile>
-        <mm:haspage page="/mmbase/style/css/mmxf.css">
-          <mm:link page="/mmbase/style/css/mmxf.css">
-            <link rel="stylesheet" type="text/css" href="${_}" />
-          </mm:link>
-        </mm:haspage>
-      </head>
-      <body class="portal">
-
-        <mm:treeinclude debug="html" page="/cockpit/applicationbar.jsp" 
objectlist="$includePath" referids="$referids"/>
+          xmlns:di="http://www.didactor.nl/ditaglib_1.0";
 
-        <mm:treeinclude debug="html" page="/cockpit/providerbar.jsp" 
objectlist="$includePath" referids="$referids">
-          <mm:param name="escapeamps">true</mm:param>
-        </mm:treeinclude>
+          >
+  <di:html
+      type="text/html"
+      rank="anonymous"
+      component="portal"
+      styleClass="portal">
 
         <!-- 1 and 3 are floats, so must be outputted first -->
         <c:forEach items="1,3,2" var="col">
@@ -65,10 +29,5 @@
             </div>
           </mm:context>
         </c:forEach>
-
-        <mm:treeinclude debug="html" page="/cockpit/footer.jspx" 
objectlist="$includePath" />
-
-      </body>
-    </html>
-  </mm:content>
-</mm:cloud>
+  </di:html>
+</jsp:root>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to