Passing state when using decorators (formencode)

2010-04-20 Thread astroboy
I am using formencode to validate my forms, and I've stumbled upon a problem. When using tha validator inside the controller action, I call to_python() and I can pass the state variable with any information I need to the validators. Is it possible to do the same with the validate decorator?

Re: Passing state when using decorators (formencode)

2010-04-20 Thread astroboy
Ok, thanks for the answer. I was going crazy trying to do that. On Apr 20, 6:11 pm, Mike Orr sluggos...@gmail.com wrote: On Tue, Apr 20, 2010 at 7:01 AM, astroboy e.imho...@gmail.com wrote: I am using formencode to validate my forms, and I've stumbled upon a problem. When using tha