[Zope] Re: Render DTML inslide ZPT slot

Max M maxm at mxm.dk
Fri Jun 16 05:01:22 EDT 2006


thomas desvenain wrote:
> and how can we transfer the namespace of the current zpt doing :
> 
> <div tal:replace="structure context/some_dtml_method" />
> 
> as we do in dtml writing :
> 
> <dtml-var some_dtml_method>


If it doesn't automatically you can most likely just write:

<div tal:replace="structure python.context.some_dtml_method(here, 
request, **options)" />


-- 

hilsen/regards Max M, Denmark

http://www.mxm.dk/
IT's Mad Science

Phone:  +45 66 11 84 94
Mobile: +45 29 93 42 96



More information about the Zope mailing list