Fixed the reference in Doc, thanks for reporting the issue :D On Tue, Oct 16, 2012 at 6:53 PM, Remi Jolin <[email protected]> wrote: > Le 16/10/2012 18:47, Christoph Zwerschke a écrit : > >> Am 16.10.2012 18:35, schrieb Remi Jolin: >>> >>> In TG2.2 documentation >>> http://turbogears.org/2.2/docs/main/Validation.html, there is an >>> example showing that you can get the error list in >>> pylons.c.form_errors but when I try, I get an error : >> >> > >> > print "pylons.c", pylons.c.form_errors, pylons.c.form_values >> > *AttributeError: 'module' object has no attribute 'c'* >> > >> > How can I get validation errors ? >> >> I think you must use tg.tmpl_context instead of pylons.c in TG 2.2 and the >> documentation needs to be updated. >> >> -- Christoph >> > Thanks :-) > > > -- > 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. >
-- 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.

