PDA

View Full Version : How to you bind the formPanel and Xtemplate?



charlewn
5 Feb 2012, 9:24 PM
Hi all, I'm a newbie here. I just read most of the codes from sencha touch cookbook. However, I'm still confused about how you connect the applications in MVC with Ext.regModel, Ext.data.Store, Viewport, Panel, TabPanel and Ext.Xtemplate because most of the codes are used in Ext.Setup.

For example, if you want to create an Ext.application that uses TabBar at the bottom, NestedListed and XTemplate to display the content, and regModel to connect the data. How would you connect them? I'm confused. Can anyone point me to a direction?

Thanks,
Chuck.

mitchellsimoens
6 Feb 2012, 8:30 AM
The NestedList will do the applying the data from the Store to the XTemplate for you so you don't need to do anything. As long as you setup the NestedList correctly you are good to go.