I'm trying to populate a template with variables from a ajax request, like
Code:
Ext.Ajax.Request({
    success: function(r) {
        var jsonData = Ext.util.JSON.decode(r.responseText);
        var tpl = new XTemplate('...');
        var new_html = XTemplate.replace_vars(jsonData)
        Ext.apply(myPanel, {html: new_html})
    }
})
It should work like an Ext.Updater, but as you can see, I didnt find any solution how to use a template to format the content in the application and not server side. Anyone got some hints?