[stringtemplate-interest] Dynamic Template Invocation

Jeff Bergman jbergmanster at gmail.com
Tue May 12 16:37:41 PDT 2009


I am trying to use the dynamic variable invocation of a template within
another template.  The only problem is the template name is not the dynamic
part.  Instead the path to the template is dynamic.  I tried the following
code and it doesn't appear to work.

$(ThemeRoot)/List()$

I have multiple themes that all have the same template files but with
different html.  And I am trying to invoke them as above.  I don't want to
use a full variable name like.

$(ThemedList)()$

Is there a way I can accomplish the first scenario?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20090512/45089ecf/attachment.html 


More information about the stringtemplate-interest mailing list