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.

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    5
    Vote Rating
    0
    Zavit is on a distinguished road

      0  

    Default autoload condig property of TreeStore don't work

    autoload condig property of TreeStore don't work


    REQUIRED INFORMATION

    Ext version tested:
    • Ext 4.1.0
    Browser versions tested against:
    • FF 16.0.2
    • IE8
    • Opera 12.02
    Description:
    • autoload: true config property of treeStore don't work
    Steps to reproduce the problem:
    • See ext js code and json data below;
    • Open the application in browser and see, that treepanel is empty
    The result that was expected:
    • TreePanel must intrepets treeStore data
    The result that occurs instead:
    • TreePanel doesn't intrepets treeStore data
    Test Case:
    Code:
     
    Ext.application({
        name: 'WebConsole',
        launch: function() {
            var store = Ext.create('Ext.data.TreeStore',{
            autoload: true,
            proxy:{
                type: 'ajax',
                url: 'server.json',
              reader: {
                  type:'json'
              }
            } });
        var treepanel = Ext.create('Ext.tree.Panel', {
            store: store,       
            title: 'Services',
    });
    Ext.create('Ext.container.Viewport', {
    layout:'fit',
            items: [
        treepanel
         ]
            });    
    }});
    HELPFUL INFORMATION

    server.json content:
    Code:
        {text: 'Services',children:[
        {text : 'JMS',leaf : false, expanded: true, children:[
        {text : 'ActiveMQClient',leaf : true,icon: 'images/STARTED_icon.gif'},
        {text : 'ActiveMQServer',leaf : true,icon: 'images/STARTED_icon.gif'}]},
        {text : 'Routes',leaf : false, expanded: true, children:[
        {text : 'Backend Emulation',leaf : false, expanded: true, children:[
        {text : 'Backend Emulation[1]',leaf : true,icon: 'images/STARTED_icon.gif'},
        {text : 'Backend Emulation[2]',leaf : true,icon: 'images/STARTED_icon.gif'}]},
        {text : 'XEConnect',leaf : false, expanded: true, children:[
        {text : 'XEConnect Inbound',leaf : false, expanded: true, children:[  
        {text : 'XEConnect Inbound[1]',leaf : true,icon: 'images/STARTED_icon.gif'},
        {text : 'XEConnect Inbound[2]',leaf : true,icon: 'images/STARTED_icon.gif'}]},
        {text : 'XEConnect Outbound',leaf : false, expanded: true, children:[
        {text : 'XEConnect Outbound[1]',leaf : true,icon: 'images/STARTED_icon.gif'},
        {text : 'XEConnect Outbound[2]',leaf : true,icon: 'images/STARTED_icon.gif'}]}]}]},
        {text : 'XEConnect',leaf : false, expanded: true, children:[
        {text : 'CORE Server',leaf : true,icon: 'images/STARTED_icon.gif'}]}]}
    Operating System:
    • Windows 7 Pro
    Additional comment:

    Please say something about this problem:
    Thank you.

  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


    2 issues:

    autoload should be autoLoad (notice case)

    You need a root on the tree panel.
    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