9 Oct
2002
9 Oct
'02
1:46 p.m.
Bo M. Maryniuck wrote:
Somebody know how to do instead:
someFoo = DTMLFile('file', globals())
def someFoo(self, REQUEST = None): """abc""" myDTML = "<standard_html_header>Test!<standard_html_footer>" return myDTML
Easy if you know how... ###### from Globals import HTML class SomeClass: someFoo = HTML('<standard_html_header>Test!<standard_html_footer>') ##### Zope will call it and pass parameters ... regards Max M
<evolve>