Given that I have this code:
Ember.App.View = Ember.View.extend({
templateName: "templateA"
});
Ember.App.View = Ember.View.extend({
templateName: "templateB"
});
Ember.App.ViewC = Ember.CollectionView.extend({
itemViewClass: "Ember.View",
contentBinding: "SomeController"
});
Is there a way to add views with different templates to CollectionView?
Another solution is to use ghempton/ember-layout, see http://jsfiddle.net/pangratz666/XhfYy/: