Re: Chained validators again

Ian Bicking <[email protected]> Mon, 9 Mar 2009 11:36:00 -0500
Newsgroups gmane.comp.python.formencode
Message-ID <[email protected]>
On Mon, Mar 9, 2009 at 4:46 AM, Andrea Riciputi <[email protected]> wrote:
> Thanks Ian,
> I was able to make it work as inteded. However I was wondering if it was
> better to make those kind of chained validators to inherit from
> FormValidator instead that from FancyValidator. Which is the real purpose of
> FormValidators? The documentation is quite terse.

Yeah, FormValidator would be better.  FormValidators just validate
dictionaries instead of single values, but there are also a couple of
other small differences (like the definition of "empty").


-- 
Ian Bicking  |  http://blog.ianbicking.org

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H