[Zope] Passing arguments to a ZPT

Max M maxm@mxm.dk
Sat, 22 Mar 2003 22:22:59 +0100


Johan Carlsson [EasyPublisher] wrote:

> I'm trying to use a centralized ZTP which could be called from  other 
> tempate/methods.
> I want to pass arguments to the ZTP to be able to customized it. 


Most likely you should be using metal:template for this kind of work! A 
template acts like a function, only that it takes complicated ZPT as 
arguments. It really is the superior way. Please do try it out. It 
sounds more complicated than it actually is.

regards Max M