Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Aug 2010
    Location
    Saarland, Germany
    Posts
    21
    Vote Rating
    0
    [Daniel] is on a distinguished road

      0  

    Default Add record to store fails to save remotely

    Add record to store fails to save remotely


    Hi everyone,

    I got a weird problem.. I'm using a grid panel with a json store and httpwriter.
    When I add a record to the store - without calling store.reload - the new data appears in the grid but the data sent to the server is empty.

    PHP Code:
    // Ensure record first!
    if(this.ownerCt.ownerCt.record == null)
    {
    var 
    clientWindow this.ownerCt.ownerCt;
    clientWindow.record = new store.recordType();
    }

    // Some lines in which the record is filled...

    store.add([this.ownerCt.ownerCt.record]);
    store.reload(); 
    After some debugging, I can say that the record contains data when it is added to the store and everything is fine - except the create-http-request:

    Code:
    http://localhost/index.php/data/create
    Parameterapplication/x-www-form-urlencoded
    data{}
    Thanks in advance for your help.
    Greetings from Saarland/Germany,

    Daniel

  2. #2
    Sencha User
    Join Date
    Aug 2010
    Location
    Saarland, Germany
    Posts
    21
    Vote Rating
    0
    [Daniel] is on a distinguished road

      0  

    Default


    I just realized that this only happens if the store is empty.
    If it cotains at least one row, it works :confused:
    Greetings from Saarland/Germany,

    Daniel

Similar Threads

  1. store: getById fails after record creation
    By callipigia in forum Ext 3.x: Help & Discussion
    Replies: 10
    Last Post: 24 Nov 2010, 1:16 PM
  2. Remotely multi sort a store
    By eztam in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 25 Aug 2010, 11:25 PM
  3. Default Add a new record to a Ext.data.Store I have a store that is defined as follo
    By SantaBarbarian in forum Ext 2.x: Help & Discussion
    Replies: 10
    Last Post: 19 Dec 2009, 10:10 AM
  4. [SOLVED] Grid rendering fails after store.load({add:true});
    By florian_cargoet in forum Ext 2.x: Help & Discussion
    Replies: 11
    Last Post: 7 May 2009, 1:23 AM
  5. Fill grid from a record (save 1:n in a store's row)
    By wuschba in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 24 Dec 2008, 4:33 AM