[Grok-dev] Accessing a METAL template from another template
daniel.carraher at gmail.com
Mon Jan 14 18:15:11 EST 2008
i think you want this?
On Jan 14, 2008 12:57 PM, Sebastian Ware <sebastian at urbantalk.se> wrote:
> I am trying to do something like this:
> Mvh Sebastian
> 14 jan 2008 kl. 18.53 skrev Sebastian Ware:
> > 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
> > _______________________________________________
> > Grok-dev mailing list
> > Grok-dev at zope.org
> > http://mail.zope.org/mailman/listinfo/grok-dev
> Grok-dev mailing list
> Grok-dev at zope.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Grok-dev