Where can I find more information about the XTemplate language?
Where can I find more information about the XTemplate language?
Having a little trouble finding out what's available for XTemplate.
I'm looking for a little more information than "the mother of all FAQ's" whose advice is "just play with it in firebug".
I've checked API doc, and there's no additional information there under XTemplate.
Google on XTemplate gave me a couple of open source packages, all of which are different from what I see in the examples.
Trying to google extjs and xtemplate provides lots of neat examples, but not a definitive answer on what's in the language. At least not from what I saw.
Did scroll through the online docs (here: http://dev.sencha.com/deploy/dev/docs/). I was not expecting it to be buried in the collapsed constructor description.
I'm going to repost the gist of my reply since obviously a moderator has no idea what should and shouldn't be in a thread.
The information about the template language is contained in the detail of the constructor. For those using the web documentation for 3.3.1, that means you have to not just only scroll down, but also expand the details of the constructor.
As to why this information is buried in the constructor without any notation in the class doc and any notation in the constructor summary that would lead you to believe its there, is beyond me. Especially if you're going to hide the documentation for the item within a collapsed div.
This type of information belongs at the class level of the document or referenced in its own documentation. If I came across an example online that used a "tpl if a", the last place I would look to see if the language contained "else" or required a "tpl if !a" would be the constructor.