hi all. i'm trying to have variable files included into my view, but
i'm not sure that it's possible since it seems includes are compiled
before runtime.

i want to do something like:
<div>
    {{include nextStep + '.html'}}
</div>

that isn't working because it gets compiled. so i tried:

{{function getInclude(name):}}
    {{include name + '.html'}}
{{return}}
<div>
    {{getInclude(nextStep)}}
</div>

but that doesn't solve the problem. i need the include to be run
through the template interpreter, so i'm not sure i can do it in the
controller. is there any other solution available?

matt

Reply via email to