lundi 23 mars 2015

EmberJS: multiple outlets within #each loop

I want to accomplish the following feature:


A list of entries - when a single entry is clicked, the details of this entry should be displayed below the current entry.


It should be possible to access a single entry via a route, e.g. tasks/1


My approach: I tried to solve this by including {{outlet}} within my #each loop but that did not quite work.


All tutorials an solutions I found are based on a List -> Details approach where only a single outlet is used.


I have no idea how I could solve this problem. Is there a better solution?


Thanks in advance for your feedback!





Aucun commentaire:

Enregistrer un commentaire