El Martes 05 Septiembre 2006 19:38, Jorge Godoy escribió: >"Javier Rojas" <[EMAIL PROTECTED]> writes: >> you have to create a subclass of the NotEmpty validator, and override the >> "messages" attribute. Check the docs of Formencode to find how to do so > >You don't need to subclass. You can pass a messages dictionary at >instantiation time. yes, but if you do so, you would have to remember to pass the "messages" dict anytime you use the validator.... Is a matter of taste, after all -- Javier Rojas
GPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xA1C57061
pgpf5FkyqzLBy.pgp
Description: PGP signature

