--- a/web/views/editforms.py Mon Dec 21 19:45:24 2009 +0100
+++ b/web/views/editforms.py Mon Dec 21 19:52:21 2009 +0100
@@ -253,6 +253,7 @@
form.event_args = event_args
return form
+
class DummyForm(object):
__slots__ = ('event_args',)
def form_render(self, **_args):
@@ -264,6 +265,7 @@
def field_by_name(self, rtype, role):
return None
+
class AutoClickAndEditFormView(ClickAndEditFormView):
"""same as ClickAndEditFormView but checking if the view *should* be applied
by checking uicfg configuration and composite relation property.
@@ -296,6 +298,7 @@
def _build_renderer(self, entity, rtype, role):
pass
+
class EditionFormView(FormViewMixIn, EntityView):
"""display primary entity edition form"""
__regid__ = 'edition'