calling standard_html_header from external methods
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? Thanks -- "This company has performed an illegal operation and will be shut down. If the problem persists, contact your vendor or appeal to a higher court." - Signal11 on slashdot
It sounds like it needs some arguments... the most obvious one I would try is request. HEADER=self.standard_html_header(REQUEST) ----- Original Message ----- From: "Marco Mariani" <m.mariani@imola.nettuno.it> To: <zope@zope.org> Sent: Saturday, July 01, 2000 6:33 AM Subject: [Zope] calling standard_html_header from external methods
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?
Thanks
-- "This company has performed an illegal operation and will be shut down. If the problem persists, contact your vendor or appeal to a higher court." - Signal11 on slashdot
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Andy McKay -
Marco Mariani