I am trying to generate a object inside componentOne function of MyContainer, but
I am getting an error at line, th error is "Expected :"Code:display.get('name'):value
Note : display.get('name') returns a string value
thanks,
Code:MyContainer = Ext.extend(Ext.Container, { initComponent: function(){ //some code }, componentOne:function(value){ alert(display.get('name')); //get a alert here "Name" var myObj= { display.get('name'):value } }