persomview
is the ID of View class. part of its definition is as follows;
Ext.define('ProjPerson.view.person.PersonTab' ,{
extend:'Ext.tab.Panel',
alias : 'widget.ptab',
id:'ptabid', ......
Now from another view classes Controller method, i am calling the PersonTab
to be displayed by using the following code;
var form = Ext.getCmp('ptabid');
form.show();
then in firebug it says form is not defined
. How can i solve this ?