file - Use external XTemplate in Sencha Touch 2 -
i need use external file content xtemplate.
basically, want use external file no "strange" solution, use "xtemplate.from", or put xtemplate objects in variables. this:
list.html
<div>name: #{object.name} </div> file.js
... content = ext.create('ext.panel.panel', { fullscreen: true, scroll: 'vertical', data : planetearth, tpl: "index.html" }); ... basically, once define file tpl, should compiled automatically.
any idea? thanks!
it seems article guides want do:
Comments
Post a Comment