2 Jul
2000
2 Jul
'00
9:38 p.m.
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