Although I haven't used it yet, if you look at the CRUD source code @
http://code.google.com/p/tgtools/source/browse/tgext/crud/controller.py?repo=tgext-crud
and search for register_validators() you might be able to walk through
the logic.  Apologies if I misunderstood.


On May 25, 9:18 am, Kiview <[email protected]> wrote:
> This seems to work, great!
>
> Now I'm using the validator like this:
>
> def foo(self, **kw):
>         redirect('/crud/image_item/new')
>
> @registered_validate(error_handler=foo)
> @expose()
> def post(self, **kw):
>         # code comes here
>
> I know Sprox automatically displays the errors if I do not override
> the post method. Is there someway to trigger this functionallity when
> I'm using the validator like this?
>
> Sometimes I think, Sprox is just doing to much magic in the
> background...

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en.

Reply via email to