Quantcast
Browsing all 4827 articles
Browse latest View live

Creating/modifying model/attributes/fields dynamically

@tom1 wrote: Hello All, I am designing an app that requires adding/displaying/editing fields/attributes dynamically. For example, Person object has First Name and Last Name initially App admin should...

View Article


Image may be NSFW.
Clik here to view.

Ember Simple Auth Token - Problems accessing custom token data

@danr1979 wrote: Hi all. Sorry to post this here but I am having real trouble trying to get access to custom data in my JWT in Ember using "ember-simple-auth-token"...

View Article


`waitUntil` async helper feedback

@ppcano wrote: I would like to get some feedback on the use of registerWaiter in an async helper to wait for animated components to appear. In our acceptance tests, the waitUntil helper could be used...

View Article

Can I change link in POST request?

@Mike456 wrote: I need to change my Post request link that view smth like this POST http://somesrv.com/api/users to POST http://somesrv.com/api/user without s in the end. Can i do this? Posts: 1...

View Article

Model doesn't refresh when I transition to it in ember 2.2.0

@samtes wrote: // app/routes/questions.js import Ember from 'ember'; import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin'; export default...

View Article


When will routable components land?

@erikrothoff wrote: Officially controllers are deprecated in favour of routable components. However, using routable components is not possible because it is not implemented in an official release yet....

View Article

How do I inject a controller into a mixin for testing?

@eibrahim wrote: I have a mixin that has the following injection: application: Ember.inject.controller(), My unit test fails: var WorkflowCommonObject = Ember.Object.extend(WorkflowCommonMixin); var...

View Article

Workflow for contributing to existing cli addons

@Andrew_Max wrote: I have an addon which I want to use but is throwing some errors. It's seems like the errors themselves would be easy enough to fix but I don't really understand how I can manipulate...

View Article


Data table backend search

@lrdevries wrote: In my application i've got a data table, with send a query to the backend for the results. The results are best on a searchbox and support pagination. The conventions say i have to...

View Article


Improvement Docs and guides, some suggetions

@flpms wrote: I'm create this topic to list something stuffs I feel missing when consulting documentation and guides. I believe that thing make more difficult to understand and increase curve when...

View Article

Converting REST response

@LozJackson wrote: I need to convert the JSON response from the server to fit with ember.. where is the best place to do that? The response from the server, for GET /books resource, looks like this: {...

View Article

Local Changes Being Overwritten By store.query()

@brad_julian wrote: Hi, all - I'm working on a project where I am making local changes to a model that exists on my server. As I'm making these changes (which I don't want to persist yet) I am...

View Article

Image may be NSFW.
Clik here to view.

Ember.js + Ember Data + PostgreSQL

@nelson777 wrote: I'm starting to study Ember.js but I'm having trouble understanding how to connect Ember.js with PostgreSQL using Ember-data. My main problem is finding a complete example where I...

View Article


Const { inject } = Ember; Can somebody explain what this does?

@louisnovick wrote: I had gotten a jshint error saying that inject was defined but never used. Can somebody explain to me what exactly const { inject } = Ember; does? More specifically in the...

View Article

Route, query params and mixin

@Yaroslav_Poliakov wrote: Hello, guys! I have implemented pagination on search results through query param, computed properties and mixin (it used in two places). It works almost perfect. Just one...

View Article


Is there a convention for component attribute lettercase (dasherized or...

@tixn wrote: I have not found something in the docs about this (the components there use short attribute names only). As the answer to a similar question on StackOverflow is somewhat flimsy ("it seems...

View Article

POST-ing to a route with id in a relationship

@Henry wrote: in ember-data, when performing a POST of a relationship, how can I make the POST route to have the Id of the parent of the relationship like is described in jsonapi? for example, having...

View Article


Upgrade Strategy?

@andrew1 wrote: I was just wondering if there are any best practices regarding package.json and bower.json. We've just started a new app and the team has hit a few bumps with having most packages set...

View Article

Ember CLI - Injecting a service in route and get the current User with...

@Gidrek wrote: I am using ember-simple-auth to authenticate. I have created the service to get the current user. //services/session.js import Ember from 'ember'; import ESASession from...

View Article

Full replacement on updating relationships [WHY?]

@rickshawhobo wrote: Hello I'm looking at the JSON-API spec found here http://jsonapi.org/format/#crud-updating-relationships and I'm wondering why ember data did not choose to implement the 2nd...

View Article
Browsing all 4827 articles
Browse latest View live