[Grok-dev] Accessing a METAL template from another template

Sebastian Ware sebastian at urbantalk.se
Mon Jan 14 12:53:35 EST 2008


How would I define my template class and then what would the metal  
expression look like if I wanted to access a master template from a  
second macro template (that in turn was called by the original page  
template).


   class Master(grok.View):
       grok.context(Interface)


   metal:use-macro=""

I can't use [context/@@master/admin_template] since the template  
doesn't have a context object defined.

Mvh Sebastian


More information about the Grok-dev mailing list