[Zope] Namespace for PythonScript
J Cameron Cooper
zope-l at jcameroncooper.com
Thu May 26 17:28:59 EDT 2005
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.
--jcc
--
"Building Websites with Plone"
http://plonebook.packtpub.com
More information about the Zope
mailing list