You can dynamically select a template by including a "tg_template" value in your method's return dict. Here's a simple example:
@turbogears.expose()
def consoles(self, *p, **kwp):
return dict(tg_template="some.template.name")
On 7/13/06, OriginalBrownster <
[EMAIL PROTECTED]
> wrote:
Hi donald
I just started using TG too...heres a website that helped me with
getting the authentication working and implementing it. As for the
controllers I can not help you. Sorry
http://trac.turbogears.org/turbogears/wiki/IdentityManagement?version=69
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
- [TurboGears] how to choose kid template dynamically, and... Donald Ball
- [TurboGears] Re: how to choose kid template dynamic... OriginalBrownster
- [TurboGears] Re: how to choose kid template dyn... Sean De La Torre
- [TurboGears] Re: how to choose kid template... Eric Larson
- [TurboGears] Re: how to choose kid template dyn... Donald Ball
- [TurboGears] Re: how to choose kid template... OriginalBrownster
- [TurboGears] Re: how to choose kid template dynamic... Nathan
- [TurboGears] Re: how to choose kid template dyn... Sean Jamieson

