Re: Dynamically choosing a template:

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to