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
    Feb 2012
    Location
    Noida,India
    Posts
    31
    Answers
    1
    Vote Rating
    1
    shruti_nair is on a distinguished road

      1  

    Default Unanswered: copy remote store to local store

    Unanswered: copy remote store to local store


    hi I want to copy my remote store into a local store
    my code
    remote store

    Code:
    LoginForm.music_store = new Ext.data.TreeStore({
        model: 'ListItem',
    proxy:
        {
        
            type:'scripttag',
             url: 'http://expensetrackingapplication.com/cocacola/webservices/receipts.php',
             reader: {
                type: 'tree',
                root: 'items'
             },
             afterRequest:function(){
                 
                     alert("inside listener");
                this.each(function(record)
                    {
                         LoginForm.LocalReceiptStore.insert(record.data);
                    });
                LoginForm.LocalReceiptStore.sync();
             }
        }
    
    });
    local store

    Code:
    LoginForm.LocalReceiptStore = new Ext.data.TreeStore({
        model: 'ListItem',
        proxy: {
            type: 'localstorage',
            id: 's',
            reader: {
                type: 'tree',
                root: 'items'
             }
        },
        
    
    });
    this gives a error
    TypeError: 'undefined' is not a function (evaluating 'this.each(function(record)
    {

    LoginForm.LocalReceiptStore.insert(record.data);
    })')

  2. #2
    Sencha User
    Join Date
    Feb 2012
    Location
    Noida,India
    Posts
    31
    Answers
    1
    Vote Rating
    1
    shruti_nair is on a distinguished road

      0  

    Default


    Both are treestore .can i copy a treestore into another??

    because treestore doesnt use .each