[EMAIL PROTECTED] wrote: > What do I do if some_page_submit decides that the values in **kw fail > validation and I need to post them back to some_page, along with (for > example) a dict of errors? I'm not entirely sure how to set up > some_page (or indeed the template it displays, including the form) to > work under both those conditions.
You can either do a redirect (via turbogears.redirect) or just simply call another [exposed] method (adding errors as another argument) as you would normally. Cheers, Simon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

