Ember.js is an advanced HTML5 MVC application framework written in JavaScript.

learn more… | top users | synonyms (2)

0
votes
0answers
3 views

Ember.js rendering named outlet destroys default outlet's contents

Working off the TodoMVC tutorial, I added a details field to the todo model, which I want to show elsewhere on the page when I click on a Todo. The issue occurs when I click on this linkTo in the ...
1
vote
1answer
15 views

How to update record in local storage using ember data and localstorage adapter?

I am new to emberjs and making one simple CRUD application. I am using ember data and localstorage-adapter to save record in local storage of browser. I am trying to update record using ...
0
votes
1answer
12 views

Show spinner next to navigation link when clicked

Say I have a few links in my navigation: ... {{#linkTo 'projects.trending' tagName="li"}} <a href="#" {{bindAttr href="view.href"}}> Trending projects</a> {{/linkTo}} {{#linkTo ...
0
votes
1answer
15 views

Updating a property is not visible in the DOM

I have the following drop-downs: {{view SettingsApp.Select2SelectView id="country-id" contentBinding=currentCountries optionValuePath="content.code" optionLabelPath="content.withFlag" ...
0
votes
1answer
14 views

Rails json response in emberjs

This is my serializer class TestSerializer < ActiveModel::Serializer attributes :post def post @post = user.joins(:post).select("user.name as name,post.content as ...
0
votes
1answer
15 views

Waiting for models to load before rendering app in Ember.js

I have a number of different application-level models — i.e., current user, current account, etc. — that I want to load before rendering my application. How and where should this be done? This ...
0
votes
1answer
12 views

EmberJS: reject an upcoming transition

I have an emberjs app, with a form to edit an object. This page contains a "Save" button, which persists the data into the database. If the object is dirty and the user is going to be transitioned to ...
0
votes
0answers
12 views

correct way of pulling in data via RESTAdapter with Ember - my list is getting duplicated everytime

I'm going with the default setup. My code that gets all users: App.UsersRoute = Em.Route.extend model: -> App.User.find() Code to get an individual user App.UserRoute = ...
0
votes
1answer
8 views

How to define route name for nested resource in Ember.js?

I've got nested resources in my ember routes. Lets suppose according this example, that my router.js looks like: App.Router.map(function() { this.resource('post', { path: '/post/:post_id' }, ...
0
votes
1answer
19 views

Handling promise rejection in ember-data with findQuery()

I cannot seem to get ember-data to reject failed (404's) when using findQuery(..query..); find(..id..); works fine. So in the route: App.PostRoute = Ember.Route.extend({ serialize: ...
0
votes
1answer
12 views

How to save model relationships with ember data

I have the following model: App.Loan = DS.Model.extend name: DS.attr('string'), products: DS.hasMany('App.Product') Then on my code I'm calling save method on a Loan object, which has many ...
0
votes
1answer
21 views

Ember.TextField : Access to jquery object

my first post on stackoverflow. (and english is not my native tongue). I am trying to learn how to use emberjs. It's not easy because of the lack of good tutorials. So I decided to code a chat, I ...
0
votes
1answer
24 views

Calling a “base-class” method from an extended object

Let's say I have this: App.ControllerMixin = Ember.Mixin.create({ setupController : function (entry) { ... } }); App.BaseEditController = ...
0
votes
1answer
13 views

Ignore or handle unimportant keys in Ember.js

I have a JSON object coming from an API that looks something like: { "version": "3.0.0", "posts": [ { "id": 1, "title": "Some Post" }, { ... } ] } But when the Ember ...
1
vote
1answer
21 views

What are the obvious vulnerabilities to using a session identifier cookie and a user_id cleartext cookie?

My basic setup is a ruby/rails server serving a JSON-based api endpoint and a bunch of javascript running an ember.js single-page application. In order to access "sensitive" (defined how you want to) ...

1 2 3 4 5 329
15 30 50 per page