[Checkins] SVN: z3ext.layoutform/trunk/ Fixed 'formError' status message

Nikolay Kim fafhrd at datacom.kz
Fri Nov 21 03:53:05 EST 2008


Log message for revision 93227:
  Fixed 'formError' status message

Changed:
  U   z3ext.layoutform/trunk/CHANGES.txt
  U   z3ext.layoutform/trunk/src/z3ext/layoutform/error.py

-=-
Modified: z3ext.layoutform/trunk/CHANGES.txt
===================================================================
--- z3ext.layoutform/trunk/CHANGES.txt	2008-11-21 08:51:13 UTC (rev 93226)
+++ z3ext.layoutform/trunk/CHANGES.txt	2008-11-21 08:53:05 UTC (rev 93227)
@@ -2,6 +2,12 @@
 CHANGES
 =======
 
+1.2.8 (2008-11-21)
+------------------
+
+- Fixed 'formError' status message
+
+
 1.2.7 (2008-11-20)
 ------------------
 

Modified: z3ext.layoutform/trunk/src/z3ext/layoutform/error.py
===================================================================
--- z3ext.layoutform/trunk/src/z3ext/layoutform/error.py	2008-11-21 08:51:13 UTC (rev 93226)
+++ z3ext.layoutform/trunk/src/z3ext/layoutform/error.py	2008-11-21 08:53:05 UTC (rev 93227)
@@ -24,6 +24,10 @@
 
     index = ViewPageTemplateFile('browser/message.pt')
 
+    @property
+    def context(self):
+        return self
+
     def render(self, message):
         self.message = message[0]
         self.errors = [err for err in message[1:] if err.widget is None]



More information about the Checkins mailing list