Somewhere I thought I found a reference as to how to override or
define the template you want to use within a given controller method.
Basically, i don't want to define the template at startup in @expose;
but instead determine the template based upon request conditions.  So
my controller method would look something like:

@expose()
def index(self):
   template_path = determineTemplateNameDyanamically(request)
   return (...the usual vars to the template...)

I'm sure this is an easy problem to solve, I've just not encountered
the obvious way to set the template on the fly.

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

Reply via email to