[ZPT] Basic syntax question

Geir Bækholt Geir Bækholt
Mon, 12 Aug 2002 21:43:23 +0200


Hello Peter, 

Monday, August 12, 2002, 9:24:47 PM, you wrote:

PCN> What is the syntax for accessing a python method that takes arguments
PCN> within a TAL tag?

you have to use python statements, not tales-paths to do this.
like this :

<p tal:replace="python:here.myMethodwithTwoArgs(arg1,arg2)" />

:)

-- 
Geir Bækholt                       web-developer
geirh@funcom.com             funcom oslo | webdev-team