web/views/editforms.py
changeset 4046 93d69d5dd3fa
parent 4045 f4a52abb6f4f
child 4053 7cc66b1d9183
equal deleted inserted replaced
4045:f4a52abb6f4f 4046:93d69d5dd3fa
   259         return u''
   259         return u''
   260     def render(self, **_args):
   260     def render(self, **_args):
   261         return u''
   261         return u''
   262     def append_field(self, *args):
   262     def append_field(self, *args):
   263         pass
   263         pass
       
   264     def field_by_name(self, rtype, role):
       
   265         return None
   264 
   266 
   265 class AutoClickAndEditFormView(ClickAndEditFormView):
   267 class AutoClickAndEditFormView(ClickAndEditFormView):
   266     """same as ClickAndEditFormView but checking if the view *should* be applied
   268     """same as ClickAndEditFormView but checking if the view *should* be applied
   267     by checking uicfg configuration and composite relation property.
   269     by checking uicfg configuration and composite relation property.
   268     """
   270     """