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.

Hybrid View

  1. #1
    Sencha User
    Join Date
    Dec 2012
    Posts
    4
    Vote Rating
    0
    urry_buh is on a distinguished road

      0  

    Default Can yuo help for dummy?

    Can yuo help for dummy?


    I'm just full zero in ExtJS, But I cant find any simpy sampe to receive some array from server to JS.
    I had sniffered HTTP responce from page:
    [["0","1"],["1","2"],["2","3"],["3","4"],["4","5"]]
    I can't understand, why any attempts to modify all samples are failing :-(
    code is like this:
    var record= Ext.data.Record.create([{name:'id_units',type:'str'},{name:'name_units',type:'str'}]);
    var StructStoreReader = new Ext.data.ArrayReader({id:0},record);
    var StructStore = new Ext.data.ArrayStore({
    id:'StructStoreReader',
    proxy: new Ext.data.HttpProxy(
    {url: '../data/effect-report-data.php' , method: 'POST',disableCaching: true, success: function(r,o){ }})
    , baseParams: {QWhat: "plantstruct"}
    , reader: StructStoreReader
    });
    StructStore.load();

    'baseParams' are using to generate upper responce.
    All tricks resulted in StructStores.items emmpty collection.
    I have no minds to do more.

    Do somebody have any enthusiasm to help?
    Novice with one-day experience in ExtJS, when correcting third-party code.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,519
    Vote Rating
    814
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Instead of using an array, I would go full fledge JSON
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1

Tags for this Thread