EmberJS Nested Views and Controllers

前端 未结 4 1158
清歌不尽
清歌不尽 2021-02-04 13:22

I\'m writing an app with EmberJS v1.0.pre. I have an ArrayController which contains a list of all persons. There are a bunch of nested views showing the person, the

4条回答
  •  说谎
    说谎 (楼主)
    2021-02-04 14:08

    You should be using outlets. They are little 'placeholders' in Ember views that can be handled with different controllers.

    There is a fair explanation on them on the link above, where you have already checked and found nothing. But before you get back to that, read this first: http://trek.github.com/

    If any of these still doesn't help you, let know and I'll put together an axample for you.

提交回复
热议问题