# HG changeset patch # User Sylvain Thénault # Date 1268387205 -3600 # Node ID 1d5803840ad52cfe7ed23e3390337d94bd1dcf1a # Parent 9c232e0ed59503b7c9d5795b3bcba9110960c58a# Parent 344857257672961e792267e464ba2a2e0bd8505c merge diff -r 9c232e0ed595 -r 1d5803840ad5 web/formfields.py --- a/web/formfields.py Fri Mar 12 10:46:28 2010 +0100 +++ b/web/formfields.py Fri Mar 12 10:46:45 2010 +0100 @@ -201,14 +201,14 @@ # of the 'form' appobject argument: the cache will keep growing as new # form are created... try: - return form.formvalues[(self, 'input_name')] + return form.formvalues[(self, 'input_name', suffix)] except KeyError: name = self.role_name() if suffix is not None: name += suffix if self.eidparam: name = eid_param(name, form.edited_entity.eid) - form.formvalues[(self, 'input_name')] = name + form.formvalues[(self, 'input_name', suffix)] = name return name def role_name(self):