Hybrid View

  1. #1
    Sencha Premium Member
    Join Date
    May 2009
    Posts
    20
    Vote Rating
    0
    rockinrandall is on a distinguished road

      0  

    Default Why is my store not saving ???

    Why is my store not saving ???


    I have implemented a form that make the following calls on the save button handler:

    handler: function() {
    if (forms.editPartySize.getForm().isValid()) {
    var values = fixValuesArray( forms.editPartySize.getValues() );
    stores.parties.getById(editPartySizeId).set(values);
    forms.editPartySize.hide();
    forms.editPartySize.destroy();
    }
    }

    I am left with the red glyph in the cell that was edited by my form.

    The data item in the store is marked as dirty, but no attempt to call my json store url to update the object was made. The store is defined with autoSync true.

    Any suggestions on how to debug this problem?

    Thanks,

    Chris

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,873
    Vote Rating
    439
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Do you not see any traffic on the network (net) tab?

    You will need to provide the code for your model/proxy/store for us to help.

    Regards,
    Scott.

Thread Participants: 1