3 Jul
2000
3 Jul
'00
9:45 p.m.
Daryl Tester writes:
Dieter Maurer wrote:
The __call__ function of DTML methods gets the following arguments: client=None, mapping=None, **kw.
You therefore may call it: "self.standard_html_header(self,REQUEST)" or "self.standard_html_header(None,REQUEST)".
And what's the difference between passing in self or None? What does the client parameter actually do? When you pass 'None', the DTML method can only use the content of REQUEST. If you pass "self", it can additionally use the direct and acquired attributes of "self".
Dieter