equal
deleted
inserted
replaced
616 |
616 |
617 def get_format_field(self, form): |
617 def get_format_field(self, form): |
618 if self.format_field: |
618 if self.format_field: |
619 return self.format_field |
619 return self.format_field |
620 # we have to cache generated field since it's use as key in the |
620 # we have to cache generated field since it's use as key in the |
621 # context dictionnary |
621 # context dictionary |
622 req = form._cw |
622 req = form._cw |
623 try: |
623 try: |
624 return req.data[self] |
624 return req.data[self] |
625 except KeyError: |
625 except KeyError: |
626 fkwargs = {'eidparam': self.eidparam, 'role': self.role} |
626 fkwargs = {'eidparam': self.eidparam, 'role': self.role} |