PDA

View Full Version : XTemplates and hasMany associations



bdvr
3 Aug 2012, 7:35 AM
I have a DataView using a template with nested tpl tags that is bound to a store containing parent models that have a hasMany association with a child model. The XTemplate seems to be rendering the parent models, but not the child models:

http://jsfiddle.net/vdmzh/

The issue was previously reported as a bug in a post on stackoverflow, but one of the posts says it was fixed in 4.1. Am I just doing something wrong, or is it still an issue?

http://stackoverflow.com/questions/6467925/extjs-4-xtemplate-class-associations