ember-old-router Questions

4

Solved

I'm trying to access an instance of a controller that has been wired automatically using App.initialize(); I've tried the below but it returns a Class not an instance. Ember.get('App.router.invit...
Collado asked 27/10, 2012 at 5:56

15

Solved

I'm trying to create navigation tabs (taken from Twitter Bootstrap): <ul class="nav nav-tabs"> <li class="active"><a href="#">Home</a></li> <li><a href="#"...
Draft asked 24/7, 2012 at 10:2

3

Solved

I'm sure this will become clear as I dig in deeper, but for now it's not obvious how to make this happen. I was following the info on this helpful SO article about routing but there is an importa...
Hiero asked 22/6, 2012 at 23:15

3

Solved

I'm trying to figure out how to handle invalid routes within my application using Ember.Router. Currently if I enter an invalid route, e.g. myapp.com/#FooBarDoesntExist, it will redirect to the in...
Kimmi asked 8/10, 2012 at 17:15

3

Solved

Is there a way to have a conditional redirect in the Ember.js Router, without breaking internal consistency of the router?
Valenti asked 25/6, 2012 at 14:9

2

I get this assertion when run the code below: Emptying a view in the inBuffer state is not allowed and should not happen under normal circumstances. Most likely there is a bug in your applicat...
Alidaalidade asked 17/1, 2013 at 13:16

3

Solved

I'm trying to figure out how to prevent or pause a route change. For my edit screens, if the user navigates away (back button or some other mechanism) when they have unsaved changes, I would like t...
Socrates asked 23/7, 2012 at 17:47

3

Solved

I have an action: {{action create target="controller"}} which I have targeted to the bound controller (rather than the router) like this: App.AddBoardController = Ember.Controller.extend crea...
Agreement asked 19/7, 2012 at 0:38

3

Solved

I have setup my application to use the ember routing architecture. My index pages looks like this (for simplicity sake) script(type='text/x-handlebars', data-template-name='application') div.cont...
Knitted asked 24/9, 2012 at 16:26

2

Solved

It seems like if you want to animate a transition between states using the new Ember.js router and outlets, you're out of luck, since the previous content of an outlet will be destroyed before you ...
Coomb asked 31/7, 2012 at 5:11

3

Solved

I'm currently trying to put something together with ember + emberdata + router + asp.net web api. Most of it seem to work, however I stuck in an error message I get when ember-data tries to findAll...

2

Solved

What's the "right way" (or at least the options, if there is no single "Ember way" of doing this) for a navigation sidebar? Should I be looking at ContainerViews somehow, or should I just use the n...
Degraw asked 3/7, 2012 at 20:20

1

Solved

I was reading http://code418.com/blog/2012/03/26/advanced-emberjs-bindings/ and came across Ember.Binding.and for transform which has deprecated in the current emberjs for Ember.computed. I decided...
Sigvard asked 14/11, 2012 at 2:34

1

Solved

This Emberjs router refuses to work with jsfiddle Jquery onDomReady and returns the error ; Uncaught Error: assertion failed: Could not find state for path: "root". However, when i change the jsfi...
Nihilism asked 8/11, 2012 at 3:9

1

Solved

I have an ember app and the concept of the outlet and connecting the outlet is fine, I get that. What I don't understand is how to have more than one view/controller view inside of another one with...
Mabel asked 10/10, 2012 at 17:23

2

Solved

Something I have noticed recently with Ember Router is it only allows navigating to leaf routes — routes without child routes. Now unless I'm doing things incorrectly then this seems like a bug/mi...
Episodic asked 8/7, 2012 at 3:5

1

Solved

Is there an official story for where interface state (as opposed to persisted model state) should live in an Ember.js app? In the "Responding to User-initiated Events" part of the Router docs, the...
Retroversion asked 14/9, 2012 at 13:38

1

Solved

I am working on an Ember app where I wish a button click to transition to a new route passing an object as the context for that route. The problem is, no matter how I try and pass that context, it...
Delmerdelmor asked 21/8, 2012 at 21:8

3

I am curious to know just what logic lies in which layer with respect to the new ember routing and controllers: If we take the route below as an example: step1: Ember.Route.extend route: '/step1...
Wheelhorse asked 26/7, 2012 at 9:40

3

Solved

When I use the Ember Router, how can I define actions in the template who are connected to the controller? An Example is here: http://jsfiddle.net/KvJ38/3/ Unter My Profile are two actions: One i...
Ashia asked 15/6, 2012 at 12:49

2

Solved

Regarding the new Ember.js routing system (described here), if I understand correctly, views are destroyed when you exit a route. Is there any way to bypass destruction of views upon exiting a ro...
Dumond asked 18/6, 2012 at 12:57

1

Solved

I've asked a question previously in which I wanted to bind a collection residing in the controller to the list scenario view, however, I've added details and edit templates and views to my structur...
Kindless asked 7/7, 2012 at 18:15

1

Solved

I was previously working with Ember.StateManager and now I'm doing some tests before I finally switch to Ember.Router, but I'm failing to understand how to properly bind my view data from the colle...
Blistery asked 2/7, 2012 at 22:2

1

Solved

It seems like older examples of routing use StateManager and newer examples use the concept of Router. What is the difference and why you would use one over the other?
Ira asked 28/6, 2012 at 23:46

1

I there any other possibility to handle with Ember.Router controllers and views? My app structure generally depends on require.js which takes care of the corresponding dependencies. In my example ...
Moorefield asked 25/6, 2012 at 15:47

© 2022 - 2024 — McMap. All rights reserved.