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
    Mar 2011
    Posts
    71
    Vote Rating
    0
    heringsfilet is on a distinguished road

      0  

    Default set internalId on localStorageProxy to id of model

    set internalId on localStorageProxy to id of model


    Is there a way to set the internalId of a localStorageProxy to an attribute of the model like the id?

    I tried the following but there occurs an error:
    Code:
    myStore = new Ext.data.Store({
        model: "MyModel",
        storeId: 'myStore ',
        sorters: 'date',
        proxy: {
            id: 'myStore',
            type: 'localstorage',
            internalId: id,
            reader: {type: 'json'},
            writer: {type: 'json'}
        }
    });
    The error, which occur is:
    Uncaught ReferenceError: id is not defined

  2. #2
    Sencha User
    Join Date
    Mar 2011
    Posts
    71
    Vote Rating
    0
    heringsfilet is on a distinguished road

      0  

    Default


    I seem to be confused, just forgot the '' around the id