On Sep9, 10:05am, weheh <[email protected]> wrote:
> I will try to do this but it will take time. Meanwhile, one thing I've
> noticed is that if I do a redirect to the same forms page that I'm
> processing, that any field-level error messages are no longer
> displayed. I know that with the flash, in case of redirect, I need to
> do a session.flash instead of a response.flash. What about the field-
> level validation errors?

AFAIK, a form which fails the accepts() should not be redirected at
all, otherwise it is not likely to make the new page display
form.errors.

By the way, I have submit a patch to Massimo about "no redirect by
default". Hope he will like it.

Iceberg
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to