[ZPT] Basic syntax question
Peter C. Norton
spacey-zope@lenin.nu
Mon, 12 Aug 2002 12:51:29 -0700
On Mon, Aug 12, 2002 at 09:43:23PM +0200, Geir B?kholt wrote:
> 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)" />
>
> :)
Thanks, that helped a lot.
--
The 5 year plan:
In five years we'll make up another plan.
Or just re-use this one.