1. #1
    Sencha User
    Join Date
    Jan 2011
    Location
    Lincoln RI
    Posts
    97
    Vote Rating
    0
    webarnie is on a distinguished road

      0  

    Default Uncaught TypeError: Cannot read property 'dom' of null

    Uncaught TypeError: Cannot read property 'dom' of null


    I am trying to get a window to display after a menu button is clicked. The main window (BillingOptionApplication.ui.js) is a viewport, layout border. I have defined a container in the center region that I want to use to display the windows for the menu options. When I click the button I get the following error:
    Uncaught TypeError: Cannot read property 'dom' of null (line 198 BillingOptionApplicationUi.js)
    The main window and buttons are defined in BillingOptionApplication.ui.js. The window I am trying to display is defined in returnPremiumInformationWindow.ui.js. I have searched the forum and reviewed the documentation but have not been able to determine the cause of the error or how to get this to work. Could someone tell me the best way to get a window to display in a div?
    Attached Files

  2. #2
    Sencha - Desktop Packager Dev Team jarrednicholls's Avatar
    Join Date
    Mar 2007
    Location
    Frederick, MD
    Posts
    1,747
    Vote Rating
    7
    jarrednicholls will become famous soon enough jarrednicholls will become famous soon enough

      0  

    Default


    Hi webarnie,

    Maybe this thread will help, if you're looking to have a window be constrained to a particular element. Some explanation on that thread will also help understand some things. Feel free to check out the attached example.

    http://www.sencha.com/forum/showthre...l=1#post567458

  3. #3
    Sencha User
    Join Date
    Jan 2011
    Location
    Lincoln RI
    Posts
    97
    Vote Rating
    0
    webarnie is on a distinguished road

      0  

    Default


    Thank you for responding. I review the posting but cannot access the attachment which is what i really want. When I try to view the attachment, i an prompted to sing in, which i do and then receive a message that i do not have authority to access the forum. Is there some other way I can get the code? Thank you.

  4. #4
    Sencha - Desktop Packager Dev Team jarrednicholls's Avatar
    Join Date
    Mar 2007
    Location
    Frederick, MD
    Posts
    1,747
    Vote Rating
    7
    jarrednicholls will become famous soon enough jarrednicholls will become famous soon enough

      0  

    Default


    That's weird. Since our site migration, there have been quirky things here and there. Will have to look into that. Here's a public link to download: http://dl.dropbox.com/u/12081268/winexample.zip

  5. #5
    Sencha User
    Join Date
    Sep 2012
    Posts
    13
    Vote Rating
    0
    VijayBhaskar is on a distinguished road

      0  

    Default


    Uncaught TypeError: Cannot read property 'autoCreated' of null

    Hi,

    I'm new to Extjs. Up on developing Multi select combo box in a panel i also got the same error.
    I go threw the above links but unfortunately they aren't working. Here is my code please tell me the changes
    Thanks.
    Code:
        Ext.Loader.setConfig({enabled: true});Ext.Loader.setPath('Ext.ux', '../ux');
    Ext.require([
        'Ext.form.Panel',
        'Ext.ux.form.MultiSelect',
        'Ext.ux.form.ItemSelector',
        'Ext.tip.QuickTipManager',
        'Ext.ux.ajax.JsonSimlet',
        'Ext.ux.ajax.SimManager'
    ]);
    Ext.onReady(function() {
        Ext.tip.QuickTipManager.init();
        function createDockedItems(fieldId) {
            return [
                    
                    ];
        }
    
    
        Ext.ux.ajax.SimManager.init({
            delay: 300,
            defaultSimlet: null
        }).register({
            'Numbers': {
                data: [['123','One Hundred Twenty Three'],
                        ['1', 'One'], ['2', 'Two'], ['3', 'Three'], ['4', 'Four'], ['5', 'Five'],
                        ['6', 'Six'], ['7', 'Seven'], ['8', 'Eight'], ['9', 'Nine']],
                stype: 'json'
            }
        });
        var viewport = Ext.create('Ext.Viewport', {
            layout:"border",
            title:"AbsoluteLayout Container",
            items: [
            {
                layout:"absolute",
                height: 500,
                width: 1200,
                margins: '135 0 0 50',
                renderTo: 'multiselect',
                items:[{
                                xtype: 'multiselect',
                                msgTarget: 'side',
                                name: 'multiselect',
                                id: 'multiselect-field',
                                allowBlank: false,
                                width:310,
                                height:140,
                                x:48,
                                y:55,
                                store:{
                                    fields: [ 'number', 'numberName' ],
                                    proxy: {
                                        type: 'ajax',
                                        url: 'Numbers',
                                        reader: 'array'
                                    },
                                    autoLoad: true,
                                    valueField: 'number',
                                    displayField: 'numberName',
                                    value: ['3', '4', '6'],
                                    ddReorder: true
                                }
                              }
                        ]
            }
            ]
        });
    });

Similar Threads

  1. Uncaught TypeError: Object #<an Object> has no method 'read'
    By babar.sajjad in forum Sencha Touch 1.x: Discussion
    Replies: 14
    Last Post: 19 Nov 2011, 7:17 AM
  2. Replies: 4
    Last Post: 3 Aug 2011, 2:54 PM
  3. Uncaught TypeError: Cannot read property 'length' of undefined
    By a2rdvark in forum Sencha Touch 1.x: Discussion
    Replies: 5
    Last Post: 23 Dec 2010, 3:48 PM
  4. TypeError: Cannot read property 'parentNode' of undefined
    By zurdophp in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 2 Sep 2010, 5:58 AM
  5. Using AIR: TypeError: Can't get property dom from null value
    By sbauer in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 9 Jul 2009, 12:54 AM

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi