Search Type: Posts; User: mysticav

Page 1 of 5 1 2 3 4

Search: Search took 0.04 seconds.

  1. Did anybody figure out this solution ?

    I also would like to send plain query parameters.

    By the way, why is this post here, instead of ExtJS 4 Q&A ?
  2. Found the solution. I search plugin was overriding the encodeFilters function.
  3. Base Model:


    Ext.define("App.model.Base", {
    extend: "Ext.data.Model",
    schema: {
    namespace: 'App.model',
    proxy: {
    type: 'rest',
    actionMethods:...
  4. Hi,

    I have a remote store. From the ViewController I'm trying to apply a filter to that store.

    this.getStore('users').filter('company',1234);

    The request to server is sent like this:
    ...
  5. Please go here:
    https://www.sencha.com/forum/showthread.php?302679-applying-filter-sends-always-query-property-instead-of-the-actual-property.&p=1106442#post1106442
  6. Cool,

    Thanks. This is what I did:


    store.remove(rec);
    store.sync({
    callback: function(batch, options){

    if(batch.exception){
  7. Hi,

    I'm using Rest Proxy. When I delete a model with erase() it is removed from store whether it is successfully delete it on the server or not.

    How can I prevent that ? I need to keep the...
  8. HI,

    Let say I want to edit a user model. I change properties, and then call save.

    The request goes like this:



    PUT
    http://localhost/api/user/324232-d268-11e4-b9d6-232sdw2432
  9. Thanks.
  10. Replies
    6
    Views
    727
    Here is the solution to dynamically handle the rootProperty content for collections or single records:

    rootProperty: function(raw) {
    return raw._embedded ?...
  11. Replies
    6
    Views
    727
    What about loading a model directly:


    App.model.User.load('xxxxxxxxxxxxxxxxx', {
    callback: function(model) {

    }
    });

    In this case, according to HAL standards, I won't get a...
  12. Hi,

    Trying to load a model via REST, but the id I provide is not sent. Instead, the phantom generated value is sent: "User-1"


    var user = Ext.create('App.model.User');
    ...
  13. Found it (assuming that "currentRec" is defined in the ViewController)

    bind: {
    store: '{groups}',
    value: '{currentRec.groupId}'
    }

    bind.selection is not required.
  14. Hi,

    I want to update a property of a model when a combo record is selected. In this case, a User belongs to a Group, so when I select a group from the combo, I want to assign that value to...
  15. Thanks.
  16. Hi,

    Let say I have this class:


    Ext.define('App.view.PersonGrid', {
    extend: 'App.ux.grid.Panel',
    xtype: 'people-grid',
    bind: '{people}',
    reference: 'person-grid',
  17. Base Class:


    Ext.define('App.ux.window.Window', {
    extend: 'Ext.window.Window',
    listeners: {
    close: 'onCloseWindow' // #1
    },
    onEsc: function(){
    ...
  18. Thanks for the info. it is very helpful.
  19. Finally I found the solution (thanks to The0s).

    I added "session: true" to the store definition in my UserModel Class:


    ...,
    stores: {
    users: {
    model: 'App.model.User',...
  20. According to your last response:

    I added "session: true" to the parent View. Do have do define it somewhere else ? Isn't the session need only when working with associations ? edit: not really,...
  21. Checking...
  22. I noticed that someone replied but then deleted the response. Posting here what that guy mentioned:



    Anyways, I tried that and didn't work either. Any other suggestion ?
    Also, if I pass the...
  23. Hi,

    I'm having problems binding a record to a form via links. Only static data and the id property from the model can be bound. That is, the form I'm trying to populate is not showing the bound...
  24. I'll give it a try and let you know, thanks,
  25. Good observations. Thanks.
Results 1 to 25 of 120
Page 1 of 5 1 2 3 4