[ZPT] accessing "repeat" variables

Dieter Maurer dieter@handshake.de
Wed, 3 Jul 2002 20:34:02 +0200


Michal Kurowski writes:
 > How actually shall we access variables in the tal:repeat statements ?
 > 
 > Is it possible to use them as arguments to outer scripts/templates ?
 > 
 > Let's say I've got this:
 > 
 > <div tal:repeat="result batch">
Sure!

	python: ...your_zpt(obj=result) ...
	
Inside "your_zpt", you access it with "options/obj".


Dieter