[Zope3-dev] missing render in z3c.formui

Markus Leist ml_zope3_dev at ikom-online.de
Fri Jul 27 23:57:29 EDT 2007


Hi Roger,
hi Stephan,

may i have found a little error in z3c.formui:

markus at brom:~/Projekte/dev_Zope_trunk/inst03_small/lib/python/z3c/formui$ svn diff table-form.pt
Index: table-form.pt
===================================================================
--- table-form.pt   (Revision 78414)
+++ table-form.pt   (Arbeitskopie)
@@ -70,7 +70,7 @@
                 </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>

without .../render in my html-source there is only a:
<div class="error"><ErrorViewSnippet for IpValidError></div>

with the render method in table-form.pt:
<div class="error"><div class="error">IP-address not ok</div></div>

in  div-form.pt that seems to be ok.


Markus


More information about the Zope3-dev mailing list