[Zope] Script returning a zpt

Chris Withers chrisw at nipltd.com
Tue Aug 26 20:22:16 EDT 2003


Simon Faulkner wrote:
> How do I return this URL from a script?
> 
> return context.show_orders(country='France')   doesn't work!

In that instance, country will appear in the ZPT 'options' variable rather than 
the request.

Code like this often works nicely:

<tal:x replace="options/country|request/country"/>

cheers,

Chris




More information about the Zope mailing list