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:

http://www.sencha.com/learn/xtemplates-part-ii/


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -