[stringtemplate-interest] Managing template parameters

Terence Parr parrt at cs.usfca.edu
Thu Nov 13 10:32:23 PST 2008


On Nov 13, 2008, at 9:32 AM, Nathan Ward wrote:

> Hello,
>
> Is the only mechanism to pass information to templates is via formal  
> parameters when using template group files?

They can see any attribute of any template enclosing. For example, if  
you set the page name in the overall page template, any template  
embedded in that page, no matter how deeply nested, can reference that  
attribute.
Ter


More information about the stringtemplate-interest mailing list