PDA

View Full Version : undefined 'me.dom.id'



Ronits
15 Jun 2013, 6:06 AM
Can anyone please tell the reason for getting a
TypeError: 'undefined' is not an object (evaluating 'me.dom.id') error.
I get this at many places in my application.
Any pointers.

slemmon
16 Jun 2013, 11:35 PM
Are you configuring widgets with explicit IDs?

For example:

{
xtype: 'form',
id: 'MyForm',
// ... the rest of the form config
}

and then accessing the component by Ext.getCmp()?

If not, what happens in your code when you get the error?

Ronits
17 Jun 2013, 8:26 AM
Are you configuring widgets with explicit IDs?

For example:

{
xtype: 'form',
id: 'MyForm',
// ... the rest of the form config
}

and then accessing the component by Ext.getCmp()?

If not, what happens in your code when you get the error?


Yes, I might be doing what you mentioned. I will check again, at what point do I get the error. Thanks for the information.