[Zope] Script returning a zpt
Satheesh Babu
vattekkat.babu at verizon.net
Sat Aug 23 19:21:04 EDT 2003
You might've to set it in "REQUEST" object.
So your script might look like:
request = context.REQUEST
request.set('country','France')
return context.show_orders(request)
Babu
http://vsbabu.org/
Simon Faulkner wrote:
> If I call my ZPT with a URL ie
>
> show_orders?country=France it works a treat and the ZSql uses the country
> variable no probs
>
> How do I return this URL from a script?
>
> return context.show_orders(country='France') doesn't work!
>
> Am I miles off?
>
> Simon
More information about the Zope
mailing list