[Cheetahtemplate-discuss] Streaming output from Cheetah
Brought to you by:
rtyler,
tavis_rudd
From: Aaron H. <aaron@MetroNY.com> - 2003-07-18 13:12:38
|
I am using the 'containment' model in webware where I do something like: pageData = { 'atricles': dbLookupAndTextConversion(), 'news':anotherDBLookup() } t = Template(file=Defautl.tmpl, searchList=pageData) self.write(t) So first the template gets filled, converted to a string, and then that string gets written. can I do: t.respond(trans=self.transaction()) instead? Is that bad? -- -Aaron http://www.MetroNY.com/ "I don't know what's wrong with my television set. I was getting C-Span and the Home Shopping Network on the same station. I actually bought a congressman." - Bruce Baum |