-
4 Feb 2011 7:39 AM #1
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?
-
4 Feb 2011 9:52 AM #2Sencha - Desktop Packager Dev Team
- Join Date
- Mar 2007
- Location
- Baltimore, MD.
- Posts
- 1,745
- Vote Rating
- 5
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
-
4 Feb 2011 10:01 AM #3
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 Feb 2011 11:34 AM #4Sencha - Desktop Packager Dev Team
- Join Date
- Mar 2007
- Location
- Baltimore, MD.
- Posts
- 1,745
- Vote Rating
- 5
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
-
2 Oct 2012 6:42 AM #5
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
-
Uncaught TypeError: Object #<an Object> has no method 'read'
By babar.sajjad in forum Sencha Touch 1.x: DiscussionReplies: 14Last Post: 19 Nov 2011, 7:17 AM -
Uncaught TypeError: Cannot read property 'parentNode' of undefined ext-touch-debug.js
By fermina in forum Sencha Touch 1.x: DiscussionReplies: 4Last Post: 3 Aug 2011, 2:54 PM -
Uncaught TypeError: Cannot read property 'length' of undefined
By a2rdvark in forum Sencha Touch 1.x: DiscussionReplies: 5Last Post: 23 Dec 2010, 3:48 PM -
TypeError: Cannot read property 'parentNode' of undefined
By zurdophp in forum Ext 3.x: Help & DiscussionReplies: 1Last Post: 2 Sep 2010, 5:58 AM -
Using AIR: TypeError: Can't get property dom from null value
By sbauer in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 9 Jul 2009, 12:54 AM


Reply With Quote