add a dummy and stupid dummy method for dummy form
authorPierre-Yves David <pierre-yves.david@logilab.fr>
Tue, 08 Dec 2009 16:56:56 +0100
changeset 4046 93d69d5dd3fa
parent 4045 f4a52abb6f4f
child 4047 2989a7d50b28
add a dummy and stupid dummy method for dummy form
web/views/editforms.py
--- a/web/views/editforms.py	Tue Dec 08 16:50:36 2009 +0100
+++ b/web/views/editforms.py	Tue Dec 08 16:56:56 2009 +0100
@@ -261,6 +261,8 @@
         return u''
     def append_field(self, *args):
         pass
+    def field_by_name(self, rtype, role):
+        return None
 
 class AutoClickAndEditFormView(ClickAndEditFormView):
     """same as ClickAndEditFormView but checking if the view *should* be applied