Pezzi schrieb:
> Oh boy that was straightforward (when you know the answer) :o) Thanks
> a lot !
> 
> Now another equally simple question (I read the turbogears book but
> I am still a rookie ...)
> 
> I want to pass parameters to this template so that I can reference
> them
> in my included template.
> 
> Something like
> 
> mytabber=Tabber(template="ncc.templates.import", server="localhost")
> 
> so that I can reference the variable server as ${server} in the
> imported template ...

class EnhancedTabber(Tabber):
    params = ['server']
    template = "ncc.templates.import"

mytabber = EnhancedTabber(server="localhost")

Diez

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