« The Linear Topic Map Notation | Main | Figured out where I was going wrong.. »

November 25, 2004

How to call REQUEST.set() from within ZPT

 > How do I call REQUEST.set() ?
Most uses of "REQUEST.set" can be avoided in ZPT because it has
true assignment:

     tal:define="var value;
                 global global_var  value;
		 ...
		"

If you need to communicate with objects outside the ZPT (and you
want to use "REQUEST" for this), you can use

     tal:define="dummy python: request.set(....)"

http://mail.zope.org/pipermail/zpt/2002-January/002763.html

Tags: ZPT

Posted by pj at November 25, 2004 05:09 PM