web/views/forms.py
branchstable
changeset 5547 26be1e50e2cf
parent 5464 c6c9a80ad1dd
child 5588 377c9adfe81e
equal deleted inserted replaced
5544:a839dc8e76a8 5547:26be1e50e2cf
   220     """
   220     """
   221 
   221 
   222     __regid__ = 'base'
   222     __regid__ = 'base'
   223     __select__ = (match_kwargs('entity')
   223     __select__ = (match_kwargs('entity')
   224                   | (one_line_rset() & non_final_entity()))
   224                   | (one_line_rset() & non_final_entity()))
   225 
       
   226     internal_fields = FieldsForm.internal_fields + ('__type', 'eid', '__maineid')
       
   227     domid = 'entityForm'
   225     domid = 'entityForm'
   228 
   226 
   229     @iclassmethod
   227     @iclassmethod
   230     def field_by_name(cls_or_self, name, role=None, eschema=None):
   228     def field_by_name(cls_or_self, name, role=None, eschema=None):
   231         """return field with the given name and role. If field is not explicitly
   229         """return field with the given name and role. If field is not explicitly