[ZPT] render a macro from python code
Luca Olivetti
luca at wetron.es
Mon Nov 28 06:11:12 EST 2005
I'd like to render a macro from python code.
I saw this recipe http://zopelabs.com/cookbook/1015014229 and instead of
calling the macro_renderer template from dtml code I can simply call it
from python (and it works), but is there a more direct way? (something
like theTemplate.useMacro('macroname',param1='value2',param2='value2')).
Bye
--
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004 Fax +34 93 5883007
More information about the ZPT
mailing list