3

Say you have something like this:

Parent hasMany Children
Child hasMany GrandChildren

and every nested Child and GrandChild is rendered with its own controller (using the ability to use {{render}} multiple times in RC2).

Is it possible to have each GrandChild controller access data from its "parent" Child controller using the "needs" API?

Please see this jsfiddle for a failing example: http://jsfiddle.net/p73jq/32/

UPDATE: simpler jsfiddle (only two levels): http://jsfiddle.net/8V9xQ/1/

Thanks a lot,

PJ

4

0 回答 0