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.