The Marionette
view construct that you want to use here is a Layout
. You can think of a Layout
as an ItemView
that has regions built in for rendering sub views into. Something like this is what you are after (in JS. Sorry I don't really know CS):
List.Muses = Marionette.Layout.extend({
template: JST["backbone/templates/muses/list"],
regions : {
leftColRegion : ".left_col",
rightColRegion : ".right_col"
},
onRender : function () {
this.leftColRegion.show(new List.Muse({model : someMuseModel}));
this.rightColRegion.show(new List.Muse({model : someOtherMuseModel}));
}
});