[ZPT] Re: macros and contexts
Seb Bacon
seb at jamkit.com
Fri Sep 12 13:54:15 EDT 2003
Evan Simpson wrote:
> Seb Bacon wrote:
>
>> <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...?
>
>
> This is perfectly valid. There's nothing magical about 'here', it's
> just a pre-defined variable. On the other hand, there's nothing magical
> about 'here' ;-) so you don't have to use it:
Aha, I knew there was something a bit dumb about what I was doing ;-)
Thanks,
seb
More information about the ZPT
mailing list