1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    1
    Vote Rating
    0
    zenic is on a distinguished road

      0  

    Default Unanswered: Ajax Request in pushed Panel

    Unanswered: Ajax Request in pushed Panel


    Hi,


    I am trying to load Data into a Panel which gets pushed on a Navigation.View, but in the Chrome Developer Tools there is no request sent. Is this the default behaviour or is something wrong with my code.


    Controllermethod:
    Code:
     showDetails: function(list, index, element, record){
            this.getDictionary().push({
                xtype: 'detailPanel'    
            });
        }

    DetailPanel:
    Code:
    Ext.define('DetailPanel', {
        extend: 'Ext.Panel',
        xtype: 'detailPanel',
    
    
        store: {
            autoLoad: true,
            model: "User",
            proxy: {
                type: 'ajax',
                url: 'content.json',
                reader: {
                    type: 'json',
                    rootProperty: 'Content'
                }
            }
        },
    
    
        html: '<h1>I can see this Message</h1>'
    });
    Thank you

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,677
    Answers
    3355
    Vote Rating
    749
    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


    Ext.Panel doesn't have a store config so a store instance won't be created. You are trying to do something outside what the framework does so you will need to handle these sort of uses.
    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

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar