1
vote
1answer
18 views
Manually connecting and disconnecting bindings
I'm creating a form with fields for billing and shipping addresses. When the user checks "same address", I want to create a binding between the billing address and shipping address; when the box is ...
0
votes
1answer
15 views
Ember.js routing alias
In there a way in Ember.js with routing to basically create an alias route that simply goes to the same place as another route? I have the following defined:
this.resource("accounts", { path: ...
0
votes
0answers
24 views
How to show last post inside Ember.js blog application “index”?
In the Ember video from http://emberjs.com/guides/, there is a sample blog application.
When you go to the root of the site, you see the list of posts on the left side menu and a message like ...
0
votes
2answers
31 views
Removing Classnames from Ember view
I am trying to create view that has functionality described in a view in am extending, but with different class names. What is happening is the ExpTypesView classes are ['nav','nav-pills'] and ...
1
vote
2answers
41 views
Building single model in EmberJS
What is the correct way to define model and routing to build a model that can be used as Application Data.
App.Router.map(function(){
this.resource("main", {path:"/"});
});
App.MainRoute = ...
0
votes
1answer
23 views
Tornado webserver and Ember.js
I have been unsuccessful in trying to use ember.js with Tornado web server because both tornado template engine and ember use the handle bars (squiggly brackets) {{ and }} and when you try to use ...
0
votes
1answer
28 views
Display online and offline (e.g. airplane) mode in the GUI
Can an Ember app be aware of the network status? If yes: How can I get the information if the app has access to the internet or not? I'd like to switch some GUI elements depending on the network ...
0
votes
1answer
58 views
Ember.js: “Undefined is not a function” in internal bootstrapping process
The code below gives me this error in Chrome's JavaScript console:
Uncaught TypeError: undefined is not a function
Stack trace:
(anonymous function) ember-1.0.0-rc.3.js:22443
b.extend.each ...
0
votes
1answer
27 views
EmberJS Rails API security
Setup is an Ember frontend with a rails backend using JSON api.
Everything is going fine but some questions do come up:
How do I ensure only the emberjs application consumes the api? I wouldn't want ...
1
vote
1answer
54 views
Ember JS transition to nested routes where all routes are dynamic segments from a view
We are writing an application using EmberJS. However we are still new with this framework and we're having a hard time resolving some of what may seem to be straight forward.
The model is pretty ...
0
votes
1answer
28 views
View controller needs: property not working
I have a view, that I attach a controller to via controller: on create and I want to require another controller which I'd normally do using needs:. When I add that I'm getting an error "Uncaught ...
0
votes
1answer
28 views
How to inherit a view in Ember.js
I have a view in Ember.js that looks like:
MyApp.LoginView = Ember.View.extend({
templateName: 'login',
didInsertElement: function() {
$("body").addClass("light-bg");
...
1
vote
1answer
40 views
How to use one-way binding on emberjs?
I'm starting to play around with ember but one thing I haven't been able to wrap my head around is how to use one-way bindings, consider the following code:
HTML
<script ...
0
votes
2answers
50 views
Start ember in a specific route
Im trying integrate emberjs on ruby on rails,
https://github.com/emberjs/ember-rails
rails generate ember:install --head
Ok now emberjs is working, but now how can I for example make emberjs work ...
2
votes
0answers
32 views
How to address images in handlebars templates if the images are optimized with grunt-contrib-imagemin
I have created an ember app with yeoman and generator-ember.
yo ember
I have placed my handlebars templates in app/templates and the images in app/images. if I run
grunt server
everything looks ...