Update of /var/cvs/speeltuin/andre/mmsite/blocks
In directory james.mmbase.org:/tmp/cvs-serv18568

Modified Files:
        page.jspx 
Log Message:
list the pages in this site with their templates



See also: http://cvs.mmbase.org/viewcvs/speeltuin/andre/mmsite/blocks


Index: page.jspx
===================================================================
RCS file: /var/cvs/speeltuin/andre/mmsite/blocks/page.jspx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- page.jspx   11 Feb 2009 21:06:12 -0000      1.1
+++ page.jspx   11 Feb 2009 21:36:39 -0000      1.2
@@ -12,10 +12,28 @@
     
<h3>${mm:string(requestScope['org.mmbase.framework.state'].renderer.block.title)}</h3>
        
<p>${mm:string(requestScope['org.mmbase.framework.state'].renderer.block.description)}</p>
     
-    <mm:node number="n">
+    <mm:listnodescontainer type="pages">
+      <ol>
+      <mm:listnodes>
+        <li>
+          <strong><mm:field name="title" /></strong><br />
+          path: <mm:field name="path"><a 
href="${mm:link(_)}">${_}</a></mm:field><br />
+          template: 
+          <mm:field name="template">
+            <mm:node number="$_"><mm:field name="url" /></mm:node>
+          </mm:field><br />
+          component: <mm:link page="page" referids="_n...@n"><a 
href="${_}">${_}</a></mm:link>
+        </li>
+      </mm:listnodes>
+      </ol>
+    </mm:listnodescontainer>
+
+    <mm:present referid="n">
+      <mm:node number="$n">
       <h4><mm:field name="title" escape="inline" /></h4>
       <mm:field name="description" escape="paragraph" />
     </mm:node>
+    </mm:present>
     
   </div>
 </mm:cloud>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to