Update of /var/cvs/contributions/didactor2/src/core/templates
In directory james.mmbase.org:/tmp/cvs-serv14553
Modified Files:
firstcontent.jsp
Log Message:
cleaned up, jspx
See also:
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/core/templates
Index: firstcontent.jsp
===================================================================
RCS file: /var/cvs/contributions/didactor2/src/core/templates/firstcontent.jsp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- firstcontent.jsp 1 Nov 2006 10:36:10 -0000 1.5
+++ firstcontent.jsp 17 Jan 2008 13:54:24 -0000 1.6
@@ -1,28 +1,30 @@
-<[EMAIL PROTECTED] uri="http://www.mmbase.org/mmbase-taglib-2.0" prefix="mm"%>
-<[EMAIL PROTECTED] uri="http://www.didactor.nl/ditaglib_1.0" prefix="di" %>
-<[EMAIL PROTECTED] uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
-<mm:content postprocessor="reducespace">
-<mm:cloud jspvar="cloud" method="delegate" authenticate="asis">
- <[EMAIL PROTECTED] file="/shared/setImports.jsp" %>
+<jsp:root version="2.0"
+ xmlns:jsp="http://java.sun.com/JSP/Page"
+ xmlns:mm="http://www.mmbase.org/mmbase-taglib-2.0"
+ xmlns:di="http://www.didactor.nl/ditaglib_1.0">
+ <mm:content type="text/html">
+ <mm:cloud authenticate="asis">
<html>
<head>
- <title>First content</title>
- <link rel="stylesheet" type="text/css" href="<mm:treefile
page="/css/loginpage.css" objectlist="$includePath" referids="$referids" />" />
+ <title><di:translate key="core.welcome" /></title>
+ <link rel="stylesheet" type="text/css"
+ href="${mm:treelink('/css/loginpage.css', includePath)}" />
</head>
<body>
<h1><di:translate key="core.welcome" /></h1>
- <br />
<h3><di:translate key="core.welcomemessage" /></h3>
- <br />
<p>
- <di:translate key="core.mainText" />
+ <di:translate key="core.mainText" arg0="2.3 ??" />
</p>
<p>
- <mm:node number="component.portfolio" notfound="skipbody">
- <a href="<mm:treefile write="true" page="/portfolio/listall.jsp"
objectlist="$includePath" />"><di:translate key="core.listallportfolios" /></a>
- </mm:node>
+ <mm:hasnode number="component.portfolio">
+ <mm:treefile write="false" page="/portfolio/listall.jsp"
objectlist="$includePath">
+ <a href="${_}"><di:translate key="core.listallportfolios"
/></a>
+ </mm:treefile>
+ </mm:hasnode>
</p>
</body>
</html>
-</mm:cloud>
-</mm:content>
+ </mm:cloud>
+ </mm:content>
+</jsp:root>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs