Hi Steve, On 11/1/05, Steve Bergman <[EMAIL PROTECTED]> wrote: > > Kevin Dangoor wrote: > > >validation_error is called with the name of the method that had failed > >validation. This allows you to check and then set a different > >tg_template return value. > > > > > > > Errr, how is that done, exactly? It does not seem to be as simple as > setting: > > tg_template="myproject.templates.mytemplate" > > or setting turbogears.tg_template to the same.
http://www.turbogears.org/docs/gettingstarted.html#templatechoice return dict(tg_template="myproject.templates.mytemplate", ...) If you call another method that uses a different template, that method's template will be rendered out. Kevin

