I want to create an app, where i have a mainContainer and a sideBar, the sidebar and the mainContainer should have routes, without that one of the both clean up the other, when its route is called.
Means if i go to movies/123
, it should load e.g. a movie in the sidebar, without removing the movie list from the mainContainer and visa-versa.
Right now it doesn't work for me, as the router always wants an absolute state and don't let me decide, what outlet to replace and which not.
Please consider using the new router api (v2) :)
Any help is appreciated.
EDIT
The Router structure looks now like this:
App.Router.map(function () {
this.resource('main', { path: '/' }, function() {
this.resource('dashboard');
this.resource('ratings');
this.resource('movie'); // goes into outlet "sidebar" if i call "/movie/123", it should not remove the views for dashboard or ratings (which go into outlet "content")
});
});