[Checkins] SVN: z3c.formui/trunk/ Fix bug in form table layout thanks to Markus Leist.

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Jul 31 17:11:06 EDT 2007


Log message for revision 78506:
  Fix bug in form table layout thanks to Markus Leist. 
  

Changed:
  U   z3c.formui/trunk/CHANGES.txt
  U   z3c.formui/trunk/src/z3c/formui/table-form.pt

-=-
Modified: z3c.formui/trunk/CHANGES.txt
===================================================================
--- z3c.formui/trunk/CHANGES.txt	2007-07-31 20:50:24 UTC (rev 78505)
+++ z3c.formui/trunk/CHANGES.txt	2007-07-31 21:11:06 UTC (rev 78506)
@@ -2,6 +2,14 @@
 CHANGES
 =======
 
+Version 1.2.1 (8/??/2007)
+-------------------------
+
+- Bug: The table-form template did not properly render the error at the
+  widget, because the ``render()`` method was not called. Thanks to Markus
+  Leist for the report.
+
+
 Version 1.2.0 (7/18/2007)
 -------------------------
 

Modified: z3c.formui/trunk/src/z3c/formui/table-form.pt
===================================================================
--- z3c.formui/trunk/src/z3c/formui/table-form.pt	2007-07-31 20:50:24 UTC (rev 78505)
+++ z3c.formui/trunk/src/z3c/formui/table-form.pt	2007-07-31 21:11:06 UTC (rev 78506)
@@ -70,7 +70,9 @@
                 </div>
                 <div class="error"
                      tal:condition="widget/error">
-                  <span tal:replace="structure widget/error"> error </span>
+                  <span tal:replace="structure widget/error/render">
+                    error
+                  </span>
                 </div>
               </td>
             </tr>



More information about the Checkins mailing list