[Checkins] SVN: z3c.pagelet/trunk/ * Added a `form.zcml` which can be included to have a template for

Christian Zagrodnick cz at gocept.com
Thu Oct 11 04:44:53 EDT 2007


Log message for revision 80846:
  * Added a `form.zcml` which can be included to have a template for
    PageletAddForm, PageletEditForm and PageletDisplayForm.
  

Changed:
  U   z3c.pagelet/trunk/CHANGES.txt
  A   z3c.pagelet/trunk/src/z3c/pagelet/form.zcml

-=-
Modified: z3c.pagelet/trunk/CHANGES.txt
===================================================================
--- z3c.pagelet/trunk/CHANGES.txt	2007-10-11 08:43:04 UTC (rev 80845)
+++ z3c.pagelet/trunk/CHANGES.txt	2007-10-11 08:44:53 UTC (rev 80846)
@@ -2,6 +2,13 @@
 CHANGES
 =======
 
+1.0.2 (unreleased)
+------------------
+
+* Added a `form.zcml` which can be included to have a template for
+  PageletAddForm, PageletEditForm and PageletDisplayForm.
+
+
 1.0.1 (2007-10-08)
 ------------------
 

Added: z3c.pagelet/trunk/src/z3c/pagelet/form.zcml
===================================================================
--- z3c.pagelet/trunk/src/z3c/pagelet/form.zcml	                        (rev 0)
+++ z3c.pagelet/trunk/src/z3c/pagelet/form.zcml	2007-10-11 08:44:53 UTC (rev 80846)
@@ -0,0 +1,20 @@
+<configure
+  xmlns="http://namespaces.zope.org/zope"
+  xmlns:z3c="http://namespaces.zope.org/z3c">
+
+  <z3c:template
+    for=".interfaces.IPageletAddForm"
+    template="form.pt"
+    />
+
+  <z3c:template
+    for=".interfaces.IPageletEditForm"
+    template="form.pt"
+    />
+
+  <z3c:template
+    for=".interfaces.IPageletDisplayForm"
+    template="form.pt"
+    />
+
+</configure>



More information about the Checkins mailing list