[ZPT] Re: macros and contexts

Chris Withers chrisw at nipltd.com
Mon Sep 15 08:07:18 EDT 2003


Seb Bacon wrote:
> Just to follow up, the solution I have thought of so far is to redefine 
> the value of  'here':
> 
>  <div tal:define="here nocall:here/foo">
>   <div metal:use-macro="here/widgetlib/macros/widget_1_view">
>     Widget 1 view goes here
>   </div>
>  </div>
> 
> Which is pretty nasty, but really seems to be the only solution...?

Why is it nasty? It is, after all, exactly what you're looking to do ;-)

Chris




More information about the ZPT mailing list