Search Type: Posts; User: jgadbois

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. The documentation states that the "last" pseudo query is included by default here:

    http://docs.sencha.com/ext-js/4-0/#!/api/Ext.ComponentQuery

    But it doesn't work when I try to use it or look...
  2. This doesn't appear to be fixed. I'm running latest SDK and still get a Proxy error.

    In the WorkoutExercise model from the previous example I have a method that does the following:



    ...
  3. Replies
    1
    Views
    400
    Sorry, you can close this. I had the views variable redeclared further down.
  4. Replies
    1
    Views
    400
    I have a series of views set up in my app.js like follows:



    views: ['Login', 'Signup', 'Dashboard','workout.Log'],


    I have more than this, but none of the nested views are being loaded....
  5. Replies
    10
    Views
    3,473
    Anything - I tried to generate a new app initially, but get the same error if I just run "sencha" with no args.
  6. Replies
    10
    Views
    3,473
    Getting the following error:



    D:\Documents\Projects\SenchaTouch>sencha
    \SenchaSDKTools-2.0.0-Beta\bin\ was unexpected at this time.
  7. Replies
    3
    Views
    763
    So if I use the convert() function on the field, can I just make the child field an array and put all the child elements in it? I'm not sure how this mapping should work.
  8. Replies
    3
    Views
    763
    I have a model that has nested fields. On the server-side these are associated models, but on the client-side this will be read-only, so I thought maybe just having nested fields would be easier...
  9. Please let me know if you need anything else to get this example to show the bug, but it should just work.
  10. Replies
    9
    Views
    2,360
    Is this on the roadmap at all? Seems like drag and drop list reordering would be a common use case for mobile apps.
  11. Sure - here you go:


    Ext.application({
    name: 'Test', // weight training mobile
    launch: function() {
    var workout = Ext.create('Workout', { name: 'Test', workout_exercises: [{name:...
  12. Yeah, I'm still getting this error. The new updateInverseInstances() is getting called, but it's still not working.

    I stepped through the code and when I add the child model, it is the first item...
  13. Thanks, I'll try that override out. I had just overridden updateInverseInstances. I will report back shortly.
  14. I think this is a different issue - I had overridden the method that caused other issue so it was working on initial load, the only problem was in this specific case described in the forum post.
  15. I have a model with ~1000 records. I want to filter these models in various ways throughout my app.

    I was wondering if I should handle this server side or client side. When I load all of them...
  16. Replies
    8
    Views
    1,722
    That seemed to do the trick - thanks!
  17. Replies
    9
    Views
    2,360
    Any word as to if drag and drop will be in the final release?
  18. I have a model called "exercise" that has a hasMany called 'sets'. If my exercise is still a phantom and I call



    this.sets().add({ reps: 0, weight: 0 });


    The belongsto is never set up for...
  19. Replies
    8
    Views
    1,722
    I found a temporary workaround here, but I should not have to manually match clientids if just saving one record:
    ...
  20. I was able to get a new record to save by doing the following (this can't be the correct way of doing it, but it works for now).

    I'm using a custom writer so I send along the clientId...
  21. That's the same behaviour I'm having. I opened a bug report here:

    http://www.sencha.com/forum/showthread.php?182849-Save-not-updating-model-ID

    Maybe you could mention that you have the problem...
  22. This cleared up for me in RC1
  23. Replies
    8
    Views
    1,722
    Model config



    config: {
    idProperty: 'id',
    fields: [ 'id', 'notes', 'workout_date', 'total_workout_time', 'user_plan_id', 'plan_workout_id', 'favorite', 'name', 'sort_order', 'user_id'...
  24. How does this one work when your reader has a root property of "results", but your data is stored in a property of "data"?
  25. Replies
    2
    Views
    520
    I'm getting the following error


    Uncaught Error: [ERROR][Anonymous] You are trying to load a model that doesn't have a Proxy specified"


    It appears that in the below method the association...
Results 1 to 25 of 55
Page 1 of 3 1 2 3