[Checkins] SVN: z3ext.layoutform/trunk/ Added extra views for form

Nikolay Kim fafhrd at datacom.kz
Wed Oct 8 03:37:32 EDT 2008


Log message for revision 91897:
  Added extra views for form

Changed:
  U   z3ext.layoutform/trunk/CHANGES.txt
  U   z3ext.layoutform/trunk/buildout.cfg
  U   z3ext.layoutform/trunk/src/z3ext/layoutform/browser/formbuttons.pt
  U   z3ext.layoutform/trunk/src/z3ext/layoutform/browser/formview.pt
  U   z3ext.layoutform/trunk/src/z3ext/layoutform/browser/formviewspace.pt
  U   z3ext.layoutform/trunk/src/z3ext/layoutform/browser/interfaces.py
  U   z3ext.layoutform/trunk/src/z3ext/layoutform/browser/widget.pt

-=-
Modified: z3ext.layoutform/trunk/CHANGES.txt
===================================================================
--- z3ext.layoutform/trunk/CHANGES.txt	2008-10-08 06:58:04 UTC (rev 91896)
+++ z3ext.layoutform/trunk/CHANGES.txt	2008-10-08 07:37:32 UTC (rev 91897)
@@ -2,6 +2,12 @@
 CHANGES
 =======
 
+1.2.2 (2008-10-08)
+------------------
+
+- Added extra views for form
+
+
 1.2.1 (2008-10-08)
 ------------------
 

Modified: z3ext.layoutform/trunk/buildout.cfg
===================================================================
--- z3ext.layoutform/trunk/buildout.cfg	2008-10-08 06:58:04 UTC (rev 91896)
+++ z3ext.layoutform/trunk/buildout.cfg	2008-10-08 07:37:32 UTC (rev 91897)
@@ -2,18 +2,15 @@
 develop = .
 parts = test coverage-test coverage-report
 
-
 [test]
 recipe = zc.recipe.testrunner
 eggs = z3ext.layoutform [test]
 
-
 [coverage-test]
 recipe = zc.recipe.testrunner
 eggs = z3ext.layoutform [test]
 defaults = ['--coverage', '../../coverage']
 
-
 [coverage-report]
 recipe = zc.recipe.egg
 eggs = z3c.coverage

Modified: z3ext.layoutform/trunk/src/z3ext/layoutform/browser/formbuttons.pt
===================================================================
--- z3ext.layoutform/trunk/src/z3ext/layoutform/browser/formbuttons.pt	2008-10-08 06:58:04 UTC (rev 91896)
+++ z3ext.layoutform/trunk/src/z3ext/layoutform/browser/formbuttons.pt	2008-10-08 07:37:32 UTC (rev 91897)
@@ -1,4 +1,7 @@
 <div class="z-form-controls">
+  <tal:block tal:content="structure
+       context/@@pagelet/z3ext.layoutform.browser.interfaces.IExtraFormButtonsInfo|nothing" />
+
   <span tal:condition="context/actions/values">
     <hr />
     <input tal:repeat="action context/actions/values"

Modified: z3ext.layoutform/trunk/src/z3ext/layoutform/browser/formview.pt
===================================================================
--- z3ext.layoutform/trunk/src/z3ext/layoutform/browser/formview.pt	2008-10-08 06:58:04 UTC (rev 91896)
+++ z3ext.layoutform/trunk/src/z3ext/layoutform/browser/formview.pt	2008-10-08 07:37:32 UTC (rev 91897)
@@ -8,6 +8,9 @@
 		      id context/id">
 
   <tal:block tal:content="structure
+      context/@@pagelet/z3ext.layoutform.browser.interfaces.IExtraFormInfo|nothing" />
+
+  <tal:block tal:content="structure
 	  context/@@pagelet/z3ext.layoutform.browser.interfaces.IViewspace" />
 
   <tal:block tal:content="structure

Modified: z3ext.layoutform/trunk/src/z3ext/layoutform/browser/formviewspace.pt
===================================================================
--- z3ext.layoutform/trunk/src/z3ext/layoutform/browser/formviewspace.pt	2008-10-08 06:58:04 UTC (rev 91896)
+++ z3ext.layoutform/trunk/src/z3ext/layoutform/browser/formviewspace.pt	2008-10-08 07:37:32 UTC (rev 91897)
@@ -4,6 +4,9 @@
      tal:condition="context/description|nothing"
      tal:content="context/description|nothing"></div>
 
+<tal:block tal:content="structure
+  context/@@pagelet/z3ext.layoutform.browser.interfaces.IExtraViewspaceInfo|nothing" />
+
 <div class="z-form-fieldset">
   <tal:block tal:repeat="widget context/widgets/values"
        tal:content="structure 

Modified: z3ext.layoutform/trunk/src/z3ext/layoutform/browser/interfaces.py
===================================================================
--- z3ext.layoutform/trunk/src/z3ext/layoutform/browser/interfaces.py	2008-10-08 06:58:04 UTC (rev 91896)
+++ z3ext.layoutform/trunk/src/z3ext/layoutform/browser/interfaces.py	2008-10-08 07:37:32 UTC (rev 91897)
@@ -22,13 +22,33 @@
     """ form view """
 
 
-class IWidget(interface.Interface):
-    """ widget view """
+class IExtraFormInfo(interface.Interface):
+    """ extra form information """
 
 
 class IViewspace(interface.Interface):
     """ form viewspace """
 
 
+class IExtraViewspaceInfo(interface.Interface):
+    """ extra widget information """
+
+
+class IWidget(interface.Interface):
+    """ widget view """
+
+
+class IExtraBeforeWidget(interface.Interface):
+    """ extra widget information """
+
+
+class IExtraAfterWidget(interface.Interface):
+    """ extra widget information """
+
+
 class IFormButtons(interface.Interface):
     """ form buttons """
+
+
+class IExtraFormButtonsInfo(interface.Interface):
+    """ extra buttons information """

Modified: z3ext.layoutform/trunk/src/z3ext/layoutform/browser/widget.pt
===================================================================
--- z3ext.layoutform/trunk/src/z3ext/layoutform/browser/widget.pt	2008-10-08 06:58:04 UTC (rev 91896)
+++ z3ext.layoutform/trunk/src/z3ext/layoutform/browser/widget.pt	2008-10-08 07:37:32 UTC (rev 91897)
@@ -1,6 +1,8 @@
 <div class="z-form-field"
      tal:define="error context/error|nothing"
      tal:attributes="class python:error and'z-form-field error'or'z-form-field'">
+  <tal:block tal:content="structure
+    context/@@pagelet/z3ext.layoutform.browser.interfaces.IExtraBeforeWidget|nothing" />
   <label tal:attributes="for context/id;
 			 title context/field/description"
 	 tal:content="context/label">The Label</label>
@@ -14,4 +16,6 @@
   <div tal:content="structure context/render">
     <input type="text" style="width:100%" />
   </div>
+  <tal:block tal:content="structure
+    context/@@pagelet/z3ext.layoutform.browser.interfaces.IExtraAfterWidget|nothing" />
 </div>



More information about the Checkins mailing list