Answered: Having issue with calling a function from a buttonhandler inside a tabPanel

Back Ground : I am working on an MVC application using sencha touch 2. I am working on a page which has two tabs. Inside the first tab, I have a button inside a title bar.Issue : I am not able to call anyother function from the button handler. I think, there is an issue with the scope of the calling function.

UncaughtTypeError: Objectfunction (selector)
{ var result = this.parent; if (selector)
{ for (; result; result = result.parent)
{ if (Ext.ComponentQuery.is(result, selector))
{ return result;
} } } return result; } has no method 'onNewButtonTap'
I think there is an issue with setting the scope of a button. Kindly help.Thank you