2 Jul
2002
2 Jul
'02
6:33 p.m.
Terry Hancock writes:
Dieter Maurer wrote:
Maybe, you should state concisely from what context you want to pass parameters to DTMLFile methods:
DTMLFile objects behave identically in this respect to DTML methods!
My problem is that they don't -- I've tested the same code both ways, and it works with "DTML Methods" but breaks with "DTMLFile Methods". If indeed they were the same, then I'd be using: You are right, I am wrong!
"DTMLFile" uses the modern "Bindings" infrastructure introduced with Python Scripts and subsequently used by PageTemplates and "DTMLFile". You can pass the DTML namespace in the following way: your_dtml_file_object(caller_namespace=_, more_keyword_parameters) Dieter