I'm trying to use the Dynamic component so I can specify the tml at runtime.

These work:

<t:dynamic template="myTemplate.tml" ...

<t:dynamic template="asset:myTemplate.tml" ...


But I need to read the template name from a property. Unfortunately, these
do not work:

<t:dynamic template="templateName" ... (where templateName is a String
property)

<t:dynamic template="${templateName}" ... (where templateName is a String
property)

<t:dynamic template="prop:templateName" ... (where templateName is a String
property)

<t:dynamic template="asset:templateName}" ... (where templateName is a
String property)

<t:dynamic template="asset:${templateName}" ... (where templateName is a
String property)


Any hints on how to make this work?

Reply via email to