Hong Yuan wrote:

If a PythonScript is called from a Page Template, how can it access the variables defined using:
  <tal:define="global ..." />
in the calling script?

Of course, one can pass the variables to the PythonScript explicitly as parameters, but is there any other way to let the PythonScript to easily access the name space of its calling page template?

I very much doubt it. Pass it to the script, which is the right way.

"Building Websites with Plone"
Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to