ここでの解決策は、ビューを作成し、その中でバインディングを行うことでした
App.TeamsConferencesView = Ember.View.extend
templateName: "teams/conferences"
selectedBinding: 'controller.selectedConference'
loadingBinding: 'controller.loadingData'
ConferenceItemView: Ember.View.extend
tagName: 'li'
classNameBindings: 'isActive:active'.w()
isActive: (->
this.get('content') == this.get('parentView.selected');
).property('item', 'parentView.selected').cacheable()
コントローラーで selectedConference を更新すると、ビューにバインドされ、適切なアイテムがアクティブになります。
私のエンブレムテンプレートは次のようになります
each conference in controller.reverseConferences
view view.ConferenceItemView contentBinding="conference"
linkTo teams.conferences conference
conference