Slobodan Jovcic wrote:
This kind of logic has no business being in a page template...
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
___
Zope maillist - Zope@zope.org
http://mail.zope
I'd probably just call container.MyScript() as self.MyScript() in
the external method.
I'm trying to keep external method versatile.
But i'm curious as to why your example doesn't work.
There was an error in the script that I fixed, but never saved the
file. Doh!
Thanks,
Jovca
__
J Cameron Cooper wrote:
Slobodan Jovcic wrote:
Hi,
I'm trying to pass a list of values between the script and external
method. ZPT contains the following:
container.myScript() is a Python Script that returns a list of values.
container.myExtMethod() is an External Method expecting that
True. Somehow, some of the latest changes in the script were lost,
probably by closing the browser without save, including a change of:
print result
return printed
to:
return result
Very stupid.
Jovca
_
Slobodan Jovcic
Teaching Enhancement Center
Office of Instr
Slobodan Jovcic wrote:
Hi,
I'm trying to pass a list of values between the script and external
method. ZPT contains the following:
container.myScript() is a Python Script that returns a list of values.
container.myExtMethod() is an External Method expecting that list.
However, all it ge
Hi,
I'm trying to pass a list of values between the script and external
method. ZPT contains the following:
container.myScript() is a Python Script that returns a list of values.
container.myExtMethod() is an External Method expecting that list.
However, all it gets is a string represent