web/views/autoform.py
changeset 3457 0924d0d08d60
parent 3451 6b46d73823f5
child 3468 b02fa4db2868
--- a/web/views/autoform.py	Wed Sep 23 20:12:48 2009 +0200
+++ b/web/views/autoform.py	Wed Sep 23 20:13:31 2009 +0200
@@ -224,7 +224,7 @@
         try:
             return self._action
         except AttributeError:
-            return self.build_url('validateform')
+            return self._cw.build_url('validateform')
 
     def set_action(self, value):
         """override default action"""