punith.mailme
22 Jun 2012, 11:36 PM
Hi,
I have small issue here,
My senior team menber is creating a widget inside the panel as below
Ext.getCmp('selectedopptionsId').add(Ext.widget('selectedprimary'));
but when i use the same page and create another Ext.widget('selectedprimary') i see in console
Uncaught Ext.Error: Registering duplicate id "primarywantid" with this manager
Please let me know the correct way to see if the widget is already created, and i can use the same.....
I have small issue here,
My senior team menber is creating a widget inside the panel as below
Ext.getCmp('selectedopptionsId').add(Ext.widget('selectedprimary'));
but when i use the same page and create another Ext.widget('selectedprimary') i see in console
Uncaught Ext.Error: Registering duplicate id "primarywantid" with this manager
Please let me know the correct way to see if the widget is already created, and i can use the same.....