[Zope] How to call PageTemplate from python script?

Dirksen dirksen_lau@yahoo.com
Mon, 30 Jul 2001 04:59:04 -0700 (PDT)


Hi,

How to call PageTemplate from python script? And how to pass arguments? How to access
these arguments in PageTemplate? Please show me an example.

Cheers
Dirksen

P.S. I've tried this, doesn't work.
test.py:
return test_zpt(context, context.REQUEST, header='abc')

text_zpt:
<p tal:content="here/header">dummy</p>

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/