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 2012
    Location
    Chennai
    Posts
    17
    Vote Rating
    0
    sivagami is on a distinguished road

      0  

    Default List data is not viewable in browser and android simulator.

    List data is not viewable in browser and android simulator.


    Hi All,
    I am new to Sencha Architect.The problem what i am facing is i am not able to view the list data in a browser and android simulator.Just i am seeing an empty list and no data in the list.But I am able to view the list data in designer.Please can anyone help me in solving this issue.

  2. #2
    Sencha User
    Join Date
    Jun 2011
    Posts
    350
    Vote Rating
    1
    bharatn is on a distinguished road

      0  
    Bharat Nagwani
    Sencha Designer Development Team

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Location
    Chennai
    Posts
    17
    Vote Rating
    0
    sivagami is on a distinguished road

      0  

    Default


    Hi Bharatn,
    Thank u.Can you please provide with an example for list whose data is viewed in browser as well as in android simulator.

  4. #4
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Brisbane
    Posts
    244
    Vote Rating
    3
    SuperRoo is on a distinguished road

      0  

    Default


    Hi sivagami,
    I had a similar problem and it was due to the backslash in the URL...displayed OK in the designer but not in the browser....backslash should be / not \ i.e. data/file.json not data\file.json.

  5. #5
    Sencha User
    Join Date
    Mar 2012
    Location
    Chennai
    Posts
    17
    Vote Rating
    0
    sivagami is on a distinguished road

      0  

    Default


    Hi SuperRoo,
    Thanks for your reply but i am using forward slash / only and not backslash \.But it is still not working.
    Anyother suggestions please.

  6. #6
    Sencha User
    Join Date
    Mar 2012
    Location
    Chennai
    Posts
    17
    Vote Rating
    0
    sivagami is on a distinguished road

      0  

    Default


    Hi,
    Please can anyone help me in solving this issue as early as possible?

  7. #7
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Brisbane
    Posts
    244
    Vote Rating
    3
    SuperRoo is on a distinguished road

      0  

    Default


    Can you see the data in the browser? Remember that your application has to be run from a web server for it to work (i.e you can't just type in C:\project\app.html). It is best to test it in a browser before using an emulator.

  8. #8
    Sencha User
    Join Date
    Mar 2012
    Location
    Chennai
    Posts
    17
    Vote Rating
    0
    sivagami is on a distinguished road

      0  

    Default


    No i am not able to see the data in the browser.

  9. #9
    Sencha User
    Join Date
    Mar 2012
    Location
    Chennai
    Posts
    17
    Vote Rating
    0
    sivagami is on a distinguished road

      0  

    Default


    This is the code which i am handling with.

    Store.js

    Ext.define('MyApp.store.MyStore', {
    extend: 'Ext.data.Store',
    requires: [
    'MyApp.model.MyModel'
    ],

    config: {
    autoLoad: true,
    model: 'MyApp.model.MyModel',
    storeId: 'MyStore',
    proxy: {
    type: 'ajax',
    url: 'http://192.168.0.60:4466/RestDataService/commodity?Orgid=2',
    reader: {
    type: 'xml',
    record: 'CommoditylistDTO'
    }
    }
    }
    });

    Model.js

    Ext.define('MyApp.model.MyModel', {
    extend: 'Ext.data.Model',
    config: {
    fields: [
    {
    name: 'CommodityId'
    },
    {
    name: 'CommodityName'
    }
    ]
    }
    });

    List.js

    Ext.define('MyApp.view.MyList', {
    extend: 'Ext.dataview.List',

    config: {

    store: 'MyStore',
    itemTpl: [
    '<div> {CommodityId} {CommodityName}</div>'
    ]
    }

    });

    Please help me as early as possible.

  10. #10
    Sencha User
    Join Date
    Mar 2012
    Location
    Chennai
    Posts
    17
    Vote Rating
    0
    sivagami is on a distinguished road

      0  

    Default


    I am able to see the data in the browser when the wcf rest service and sencha client are in the same system.But it is not working when the service and client are in different system.

    Please provide me with some ideas.