validating through decorators?

Luca Lesinigo <[email protected]> Mon, 25 Aug 2008 10:48:46 +0200
Newsgroups gmane.comp.python.formencode
Message-ID <[email protected]>
Hello there.

I discovered validation and FormEncode while playing with TurboGears.  
Now I'm working on a little project of my own without TurboGears and  
I'd like to validate user-entered input (direct calls to my module or  
command line arguments, no web here) so I obviously turned to  
FormEncode.

I'd like to validate data with decorators in front of my module  
methods, since it's so easy and elegant, but as far as I can  
understand the @validate decorator was part of TG and there's nothing  
like that in FE?
So the standard way to use validators with FE alone would be to call  
them from inside my methods?

I looked and searched through the documentation on the website but  
couldn't find anything, and any other search though google always  
gives links to TG or other web frameworks...

Thanks,
--
Luca Lesinigo

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
FormEncode-discuss mailing list
FormEncode-discuss-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/formencode-discuss