[Grok-dev] Re: a problem with 'static' and macros

Martijn Faassen faassen at startifact.com
Mon May 28 08:54:35 EDT 2007


Philipp von Weitershausen wrote:
[snip]
> That said, you can either use Kevin's suggestion and get to it via 
> context/@@view_exposing_the_macro/static (basically, the macro would be 
> looking itself up as a view), or the macro can refer to its resource 
> directory explicitly by package name: tal:define="macro_static 
> context/@@package.that.the.macro.is.defined.in"

A belated thanks for this (to Kevin too). I guess I will be employing 
this in the project for now, though I hope we can come up with something 
less obscure.

Regards,

Martijn





More information about the Grok-dev mailing list