Hi,

Can anyone provide me an example of how to use XTemplate in Sencha Architect 2.1?

Especially entering "fn."

I am not sure on how to achieve this:

Code:
itemTpl: new Ext.XTemplate(           
              '<p>{name}',
              '<tpl if="age &gt; 17">',
              '<button>Vote</button>',
              '</tpl>',
              '</p>'
)
Thanks in Advance.