Well thats one way but I thought about doing it the same way issuing a
render command omitting the need of a component. I will give it a try.


2013/10/14 Lance Java <lance.j...@googlemail.com>

> I've never used it myself but I assume it'd be something like:
>
> Java
> -----
> public class MyDynamicPage {
>    @Inject
>    private DynamicTemplateParser parser;
>
>    @Property
>    private DynamicTemplate template;
>    public void onActivate(EventContext context) {
>       // TODO: implement this
>       Resource templateResource = generateTemplateResource(context);
>
>       template = parser.parseTemplate(templateResource);
>    }
> }
>
> TML
> -----
> <t:dynamic template="prop:template" />
>

Reply via email to