1 Jun
1999
1 Jun
'99
3:04 p.m.
Fully rendering dtml to an html string (same way zope does !) from an external method still eludes me. Happy to release the zope equivalent of wget once that's working. Anyone ?
something like this works for me... dtmlstring = """ some <!--#var dtmlstuff --> blah blah blah """ Results = DocumentTemplate.HTML(dtmlstring) Results = apply(Results, (self, REQUEST), { 'dtmlstuff' : 'bananas' } ) where 'self' is the instance, REQUEST the request object (if you have things there that you want to look up) or are you also talking about recursing, doing lookups, &c? Anthony