On 05/09/10 16:07, Eryx Lee wrote: > Oh, I see. > I always override them all as following: > > email = formencode.validators.Email(not_empty=True, > use_builtins_gettext=False, messages=dict((key, "Invalid email > address.") for key in ["empty", "noAt", "badUsername", "socketError", > "badDomain", "domainDoesNotExist"])) >
Thanks. Seems like a mouthful. Too bad there is no option like genericError to override all other messages if not empty. Vlad -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
