manage_addField patch

Bertrand Croq <bertrand.croq-i1BwEb4NmXRWk0Htik3J/[email protected]> Mon, 17 Jan 2005 16:27:37 +0100
Newsgroups gmane.comp.web.zope.formulator.devel
Message-ID <[email protected]>
Hi,

There is a problem with manage_addField when a Form is set to use
unicode... here is a patch that fixes the problem:

Index: Form.py
===================================================================
RCS file: /cvs/infrae/Formulator/Form.py,v
retrieving revision 1.47
diff -r1.47 Form.py
29a30,31
> from helpers import convert_unicode
>
765a768,769
>       if self.get_unicode_mode():
>           title = convert_unicode(title)

Regards,
-- 
Bertrand Croq - FreesKop - Avenue Robert Schuman - 35170 BRUZ
http://www.freeskop.com/ - Tel: 02 99 05 04 56 - Fax: 02 99 05 96 40