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
    Jul 2012
    Posts
    1
    Vote Rating
    0
    rsyhanes86 is on a distinguished road

      0  

    Default Unanswered: Button Menu Issue (ExtJs 4.1.1)

    Unanswered: Button Menu Issue (ExtJs 4.1.1)


    Hi, I got some trouble when rendering a button menu using 4.1.1 version, This is the code of button:{ text:'Mis Aplicaciones', menu:{ loader:{ autoLoad:true, url: '../ac/execute', renderer: 'component', params:{ route:'ac_getuserapps' } } }}As you can see I load items of menu from serverside wich is perfectly done. I even have inspected the menu object and menu items are inside. But, when I try to dropdown the menu clicking the button I get this error:"Uncaught TypeError: Cannot read property 'dom' of null ext-all-debug.js:26402"And menu never shows up.Hoping for some help!!! http://www.sencha.com/forum/images/smilies/17.gif

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,865
    Answers
    652
    Vote Rating
    438
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    This seems to work:

    text.txt
    Menu Item
    Code:
    Ext.onReady(function(){
    
    	Ext.create('Ext.Button', {
    	    text: 'Click me',
    	    renderTo: Ext.getBody(),
    	    loader: {
    	        url: 'text.txt',
    	        autoLoad: true
    	    },
    	    handler: function() {
    	        alert('You clicked the button!');
    	    }
    	});
    
    });
    Scott

Thread Participants: 1

Tags for this Thread