[Zope] calling standard_html_header from external methods
Dieter Maurer
dieter@handshake.de
Sun, 2 Jul 2000 23:38:41 +0200 (CEST)
Marco Mariani writes:
> How may I access standard_html_header through acquisition
> form foo.py?
>
> I've tried
>
> HEADER=self.standard_html_header()
>
> It acquires, but gives me an error on title_or_id, on PARENTS,
> on whatever. What arguments should I pass to it?
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)".
Dieter